Posted by Abhishek on April 24, 2020
This blog specifically describes the steps involved in installing .NET Core SDK 3.1 in Ubuntu 20.04 LTS Developer Machine.
Open a terminal and run the following commands to setup the 20.04 repositories
sudo wget https://packages.microsoft.com/config/ubuntu/20.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 apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-3.1
I would not recommend you to use the 19.04 repositories since the distribution has officially reached its end of life.
sudo apt-get install dotnet-sdk-3.1
, you may get dependency errors related to libicu
not found in Ubuntu 20.04 LTS. If this is the case, then execute the following commands in terminal [courtesy: Phillip Haydon]. Now try the sudo apt-get install dotnet-sdk-3.1
, it should work.
sudo wget http://mirrors.edge.kernel.org/ubuntu/pool/main/i/icu/libicu63_63.2-2_amd64.deb
sudo dpkg -i libicu63_63.2-2_amd64.deb
You should see the microsoft docs get updated in a day or two on linux package manager instructions specifically for Ubuntu 20.04 LTS.