Skip to content

Instantly share code, notes, and snippets.

@aaronsb
Last active September 21, 2020 17:26
Show Gist options
  • Save aaronsb/934d76067d6ee9ce1f955c73a24a1ea8 to your computer and use it in GitHub Desktop.
Save aaronsb/934d76067d6ee9ce1f955c73a24a1ea8 to your computer and use it in GitHub Desktop.
powershell on ubuntu 20.04
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update
sudo apt install liblttng-ust0
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3.1_amd64.deb
sudo dpkg -i libicu60_60.2-3ubuntu3.1_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.4_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.4_amd64.deb
sudo apt-get install -y powershell
@revpixel
Copy link

revpixel commented Jul 2, 2020

FYI

If you're planning on installing this on an Azure Ubuntu 20.04 Image Add These commands

sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt-get update
sudo apt-get install libicu55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment