Today in this tutorial post, I will be showing you how to install Microsoft PowerShell on Ubuntu Linux.
You might need to install Microsoft PowerShell on Ubuntu Linux, if you run Linux on your PC or laptop, but you develop for Microsoft Windows as your job at work.
First please visit the PowerShell GitHub page to download the appropriate latest version of the software, for the Linux distribution that you are running.
I have selected to download the powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb. This is because I am running Ubuntu MATE 16.04.
The Debian package has now finished downloading. The package will be saved in your downloads folder by default.
Now I am going to open a MATE termainal window, Just click on Applications > System Tools > MATE Termainal, or just press Ctrl + Alt + T on the keyboard to open a new terminal window.
The Ubuntu MATE termainal window is now open and ready to have commands ran with inside it.
Now type the following command below into the termainal to install the libunwind8 and libicu55 software librarys.
sudo apt-get install libunwind8 libicu55
Here is the install warning message that is displayed when installing new software through the terminal. type the letter Y to accept the warning, then press the return key on the keyboard.
The libunwind8 and libicu55 software librarys have been successfully installed.
Now open your home folder to navigate to the downloads folder.
Now that we are inside our downloads folder double click on the powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb package folder, to install the package file.
Now that the package installer has opened, just click on the Install Package button on the top right hand corner of the window.
This is the administrative rights to install software message, that is displayed after you have clicked on the install package button. Click OK at to accept the warning.
The Debian Package installer is now running. Click on close when the installation has finished successfully.
Now I am going to open a MATE termainal window again, Just click on Applications > System Tools > MATE , or just press Ctrl + Alt + T on the keyboard to open a new Terminal window.
Once the terminal has opened type
This will start-up an instance of Microsoft’s PowerShell within the terminal session.
That’s it you have now successfully got Microsoft’s PowerShell running in Ubuntu Linux.
Follow Remote PC Services On Social Media
For more details on Remote PC Services and the IT support services I have on offer please click here.
If you are located in Yorkshire UK and require support, please complete the contact us form, at this link and I will be more than willing to provide support for your home or business IT needs.
You can also find software tutorials on your YouTube channel where you will find videos on Windows 10, Mozilla Firefox and Google Chrome web browsers, more videos will be added in the future so please subscribe so you don’t miss out.
Thanks for your time.