Skip to content

Instantly share code, notes, and snippets.

@AmSmart
Created April 14, 2021 14:24
Show Gist options
  • Save AmSmart/3bd1b99b01e0286bf7a4e7a8eed54aa4 to your computer and use it in GitHub Desktop.
Save AmSmart/3bd1b99b01e0286bf7a4e7a8eed54aa4 to your computer and use it in GitHub Desktop.
Setup .NET on Ubuntu
# Setup the package source
wget https://packages.microsoft.com/config/ubuntu/20.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
# Install the SDK
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment