Install .NET Core SDK 3.1 in Ubuntu 20.04 LTS

Posted by Abhishek on April 24, 2020

.NET

This blog specifically describes the steps involved in installing .NET Core SDK 3.1 in Ubuntu 20.04 LTS Developer Machine.

  1. 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
    
  2. 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.

Issues & Workarounds

dotnet-core-list

You should see the microsoft docs get updated in a day or two on linux package manager instructions specifically for Ubuntu 20.04 LTS.


Thanks for reading this post. Enjoy !!
Share on: