How to Install DotNet Core on Ubuntu

by Muhammad Siddiqur Rahman . Updated: September 28, 2019 at 12:54 am

How to Install DotNet Core on Ubuntu 18.04 step by step .

â–ºCommands

sudo apt-key adv –keyserver packages.microsoft.com –recv-keys EB3E94ADBE1229CF

sudo apt-key adv –keyserver packages.microsoft.com –recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893

sudo apt-get update

(stable)

sudo apt-get install dotnet-sdk-2.1.105

(newest)

sudo apt install dotnet-sdk-2.1.300-preview2-008533

dotnet new console

dotnet run