GMH-066 Ubuntu 17.10 Tip Install Powershell Install Microsofts Powershell on Ubuntu 17.10 Aadrvark. Why Powershell when Ubuntu has the power of Bash? I have been torn between where to focus my efforts on and looked at the ecosystem of both Bash and Powershell. Bash beats Powershell is sheer numbers but Powershell seems to be drawing the interest some very innovative folks.
Professionally I work in a Windows environment, my soul works in Linux. In this case, I’m bilingual and I need to speak the language of the country (Environment) I’m living in. I have written some pretty cool Powershell scripts and I’m helping others move from the Windows CMD line into Powershell.
To help me in my withdrawal from Linux, I have installed CYGwin on most windows systems and use the GIT BASH window frequently. I also use a networking tool called MobaXTerm which also has the heart of CYGWin in it. Some of the future videos in this series will have references to Powershell so installing it is important. Some folks find it difficult to dip their toes into the Linux Terminal. For many, this video is a short visit to that strange place. To others, I am boring the shit out them. I promise it will get more interesting in the future.
NOTE: In the recording of this video, the remote desktop connection from the X11VNC server kept crashing after 5-10 minutes. I had to cut out all the cuss words. You might alow notice the cursor highlighting disappears from time to time
# Install Curl sudo apt-get install curl # Import the public repository GPG keys curl https://packages.microsoft.com/keys/m… | sudo apt-key add –
# Register the Microsoft Ubuntu repository curl https://packages.microsoft.com/config… | sudo tee /etc/apt/sources.list.d/microsoft.list
# Update apt-get sudo apt-get update
# Install PowerShell sudo apt-get install -y PowerShell
# Link to Missing libicu55
NOTE: This version of the lib is for an AMD system like the one I’m using. If your system is different you may need to locate the proper lib.
# Install libicu55 using CLI package installer
sudo dpkg -i ./libicu55_55.1-7ubuntu0.3_amd64.deb
# Start Powershell pwsh
# Simple command to test PS
write-host “Hello there GeeMustHave fans.” -foregroundcolor yellow
I hope you enjoyed this video and if you liked it or my escapades then click on that LIKE button. Do this Geek a favor, SUBSCRIBE to my YouTube channel. I would really appreciate it!
Any questions or feedback are greatly appreciated.
Now… go build or code something…