How To Install Microsoft PowerShell On Ubuntu Linux

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.

Step One

PowerShell GitHub Page

PowerShell GitHub Download Links

First please visit the PowerShell GitHub page to download the appropriate latest version of the software, for the Linux distribution that you are running.

Step Two

Ubuntu Debian Package Download

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.

Step Three

Web Browser Download Completed Image

The Debian package has now finished downloading. The package will be saved in your downloads folder by default.

Step Four

Ubuntu MATE Applications Menu

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.

Step Five

Ubuntu MATE Termainal Window

The Ubuntu MATE termainal window is now open and ready to have commands ran with inside it.

sudo apt-get install libunwind8 libicu55 command

Now type the following command below into the termainal to install the libunwind8 and libicu55 software librarys.

sudo apt-get install libunwind8 libicu55

Step Six

sudo apt-get install libunwind8 libicu55 install warning

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.

sudo apt-get install libunwind8 libicu55 installed

The libunwind8 and libicu55 software librarys have been successfully installed.

Step Seven

Home Folder

Now open your home folder to navigate to the downloads folder.

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.

Step Eight

Debian Package Installer

Now that the package installer has opened, just click on the Install Package button on the top right hand corner of the window.

Step Nine

Administrative Rights To Install Software

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.

Step Ten

Debian Package Installer Is Running

The Debian Package installer is now running. Click on close when the installation has finished successfully.

Step Eleven

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.

PowerShell Termainal

Once the terminal has opened type

sudo powershell

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.

Please feel free to like Remote PC Services on Facebook & follow us on Twitter.

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.