Last active
February 18, 2020 16:53
-
-
Save det-peralta/2507755f3ea855f2f469eb98716bed0e to your computer and use it in GitHub Desktop.
Install .NET Core on Ubuntu
This file contains hidden or 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
#!/usr/bin/env bash | |
#Register Microsoft key and feed | |
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | |
sudo dpkg -i packages-microsoft-prod.deb | |
#Install the .NET Core SDK | |
sudo add-apt-repository universe | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https | |
sudo apt-get update | |
sudo apt-get install -y dotnet-sdk-3.1 | |
dotnet --version | |
#Install the ASP.NET Core runtime | |
#sudo add-apt-repository universe | |
#sudo apt-get update | |
#sudo apt-get install apt-transport-https | |
#sudo apt-get update | |
#sudo apt-get install aspnetcore-runtime-3.1 | |
#Install the .NET Core runtime | |
#sudo add-apt-repository universe | |
#sudo apt-get update | |
#sudo apt-get install apt-transport-https | |
#sudo apt-get update | |
#sudo apt-get install dotnet-runtime-3.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment