When ASP. NET Core is installed in Linux, asp. netcore
I use Centos7. For other Linux systems, refer to Microsoft documentation. Microsoft official documentation:
Https://www.microsoft.com/net/learn/get-started/linux/centos
1. Add dotnet product Feed
To start installing. NET, you must register a Microsoft signature key and add a Microsoft Product abstract. This only needs to be done once on each machine. Run the following command in a command prompt:
Sudo rpm -- import https://packages.microsoft.com/keys/microsoft.asc
Sudo sh-c 'echo-e "[packages-microsoft-com-prod] name = packages-microsoft-com-prod baseurl = https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prodenabled=1gpgcheck=1gpgkey=https://packages.microsoft.com/keys/microsoft.asc">/etc/yum. repos. d/dotnetdev. repo'
2. Start to install the ASP. NET Core Runtime Environment
Run the following command in a command prompt:
Sudo yum update // upgrade the Repository
Sudo yum-y install libunwind libicu
Sudo yum install dotnet-sdk-2.0.3
3. Check whether the installation is successful.
Run the dotnet -- version command to display the runtime environment version.