Table of Contents
This tip is about the how to Run .NET Core (dotnet) on Ubuntu 20.04 LTS Focal fossa. So read this free guide, How to Run .NET Core (dotnet) on Ubuntu 20.04 LTS Focal fossa step by step. If you have query related to same article you may contact us.
How to Run .NET Core (dotnet) on Ubuntu 20.04 LTS Focal fossa – Guide
A few days ago Canonical, the custodian of the Ubuntu Linux distribution, released the latest long-term support version of its Linux desktop operating system. The release codenamed Focal Fossa 20.04 LTS is the latest and greatest release. Visit their blog for more information about their new features. For us .NET Core developers, each new Ubuntu release usually means that whenever we need to update the .NET Core release, we need to change the location of our package manager to get the correct version.
.NET Core is a free and open source software framework designed with Linux and macOS in mind. It is the cross-platform successor to the .NET Framework, available for Linux, macOS and Windows systems. The .NET Core Framework already provides scaffolding tools for startup projects. Microsoft has now updated the dedicated page titled “Ubuntu 20.04 Package Manager – Install .NET Core” with instructions on how to use the package manager to install .NET Core on Ubuntu 20.04.
Install .Net Core
$ cd ~ / Downloads
$ mkdir -p $ HOME / dotnet && tar zxf dotnet-sdk-3.1.201-linux-x64.tar.gz -C $ HOME / dotnet
Configure .Net CLI
$export DOTNET_ROOT = $HOME / dotnet $export PATH = $PATH: $HOME / dotnet
$ sudo gedit ~ / .bashrc
Final note
I hope you like the guide How to Run .NET Core (dotnet) on Ubuntu 20.04 LTS Focal fossa. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.