.Net Core is the latest open source innovative framework of Microsoft on top of their propriety .Net Framework 4.
.Net Framework is not only industry standard when it comes to developing highly scalable dynamic applications but also several businesses thrived because of .Net Framework.
Due to popularity and out of great demand, Microsoft decided to simplify their overly complex framework and made it open source for the world.
Now you too can contribute to the core, therefore, it is called .Net Core Framework for the time being.
Since it has been improved and made available for the public to install and download, let us enjoy the fresh release of .Net 5 framework.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform .Net Core related queries.
In this context, we shall look into how to install .Net Core framework, and launch your first web app.
How to install .NET Framework on Ubuntu System ?
1. First, grab the simplified deb file to add Microsoft self-hosted repositories using wget tool:
$ wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
2. Once you hit enter, wget will download a deb file which we will use to fetch a bunch of repositories for our needs and install them:
$ sudo dpkg -i packages-microsoft-prod.deb
Input your password and CLI will setup the packages for you.
3. Copy and paste given commands and wait.
It might take some time to update and fetch the required files from Microsoft repositories depending on your connectivity speed:
$ sudo apt-get update
$ sudo apt-get install -y apt-transport-https &&
$ sudo apt-get update &&
$ sudo apt-get install -y dotnet-sdk-5.0
.Net SDK will be unpacked and installed for you.
How to Verify .NET Framework Installation on Ubuntu ?
You can Verify your installation using the below command:
$ dotnet -–version
[Need urgent assistance in fixing Ubuntu Linux related errors ? We can fix it. ]