ASP.NET Core в Linux

Download and install

To start building .NET apps you just need to download and install the .NET SDK (Software Development Kit).Linux Distribution     

Поддерживаемые дистрибутивы:
         
 RHEL 7 — x64                 Ubuntu 16.04 — x64                 Ubuntu 18.04 — x64                 Ubuntu 19.04 — x64                 Debian 9 — x64                 Debian 10 — x64                 Fedora 29 — x64                 Fedora 30 — x64                 CentOS 7 — x64                 openSUSE 42.3 — x64                 openSUSE 15 — x64                 SLES 12 — x64                 SLES 15 — x64     

Register your Red Hat subscription

In order to install .NET Core from Red Hat on RHEL, you first need to register using the Red Hat Subscription Manager. If this has not been done on your system, or if you are unsure, see the Red Hat Product Documentation for .NET Core.

Установка .NET SDK

After registering with the Subscription Manager, you are ready to install and enable the .NET SDK.

In your terminal, run the following commands:TerminalCopy

yum install rh-dotnet30 -y
scl enable rh-dotnet30 bash

Check everything installed correctly

Once you’ve installed, open a new terminal and run the following command:TerminalCopy

dotnet

If the command runs, printing out information about how to use dotnet, you’re good to go.

оригинальная статья https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install