Install .NET SDK on Ubuntu 20.04

Microsoft .NET SDK and Run time now available for Linux. To install .NET SDK and runtime on Ubuntu 20.04, follow the instructions below

Run the following commands as user root. If you are logged in as a normal user, use the command “sudo su” to become user root.

Update the repo and install apt-transport-https

Search for available dotnet-sdk versions

apt search dotnet-sdk

On Ubuntu 20.04, Microsoft provides .NET SDK version 2.1, 3.1, and 5. Let’s install version 5.

To find the version of .NET SDK, run

Find  dotnet version in Ubuntu

You can find .NET SDK and runtime available with commands

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *