Last active
October 1, 2018 13:38
-
-
Save ZachBray/5c5c3cb31f20747437e573f0211cd8bc to your computer and use it in GitHub Desktop.
Install dotnetcore 2.1 on Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 16.04 | |
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb | |
sudo dpkg -i packages-microsoft-prod.deb | |
# 18.04 | |
sudo apt-key adv --keyserver packages.microsoft.com --recv-keys EB3E94ADBE1229CF | |
sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893 | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic main" > /etc/apt/sources.list.d/dotnetdev.list' | |
# All | |
sudo apt-get update | |
sudo apt-get install apt-transport-https | |
sudo apt-get update | |
sudo apt install -y dotnet-sdk-2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment