How to install .Net Core on Ubuntu 16.04

Add the dotnet apt-get feed

In order to install .NET Core on Ubuntu, you need to first set up the apt-get feed that hosts the package you need.

Install .NET Core SDK

Before you start, please remove any previous versions of .NET Core from your system by using this script.

Initialize some code

Let’s initialize a sample Hello World application!

Run the app

The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:

And you’re ready!

You now have .NET core running on your machine!

Source: .Net Core on Ubuntu

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.