The .NET Core is a free and open-source software framework designed with keeping Linux and macOS in mind. It is a cross-platform successor to .NET Framework available for Linux, macOS and Windows systems. .NET Core framework already provides scaffolding tools for bootstrapping projects.

This tutorial will give details about the installation of .NET Core SDK and .NET Core Runtime on Ubuntu 20.04 Linux system.

Step 1 – Enable Microsoft PPA

First of all, you need to enable Microsoft packages repository on your Ubuntu system. The Microsoft official team provides a Debian packages to create PPA file on your system.

Open a terminal on your Ubuntu system and configure Microsoft PPA by run the following commands:

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb 
sudo dpkg -i packages-microsoft-prod.deb 

Step 2 – Installing .NET Core SDK

.NET Core SDK is the Software development kit used for developing applications. If you are going to create a application or making changes to existing application, you will required .net core sdk package on your system.

To install .NET Core SDK on Ubuntu 20.04 LTS system, execute the commands:

sudo apt update 
sudo apt install apt-transport-https 
sudo apt install dotnet-sdk-3.1 

To install the previous version of .Net Core SDK 2.1, type:

sudo apt install dotnet-sdk-2.1

#general articles #.net core #dotnet #microsoft #ubuntu

How to Install .NET Core on Ubuntu 20.04
41.60 GEEK