Install .NET Core SDK 2.1.101 on Linux CentOS / Oracle

Not sure where to start? See Get started with .NET in 10 minutes.

Linux Distribution

Add the dotnet product feed

To start installing .NET, you'll need to register the Microsoft signature key and add the Microsoft Product feed. This only needs to be done once per machine.

Open a command prompt and run the following commands:

sudo rpm --import
sudo sh -c 'echo -e "[packages-microsoft-com-prod]\nname=packages-microsoft-com-prod \nbaseurl=\nenabled=1\ngpgcheck=1\ngpgkey=" > /etc/yum.repos.d/dotnetdev.repo'

Install the .NET SDK

Update the products available for installation, install the components required by .NET, then install the .NET SDK.

In your command prompt, run the following commands:

sudo yum update
sudo yum install libunwind libicu
sudo yum install dotnet-sdk-2.1.101

Ready to Get Started?

Our step-by-step tutorial will help you build your first app with the .NET Core SDK.

Supported on Windows, Linux, and macOS

Get Started