linux Centos install .net core environment

1, into a public library keys
     rpm --import https://packages.microsoft.com/keys/microsoft.asc

2, introduced .Net Core yum repository
     rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

3, install the update library
     yum update

4, install the .NET core
     runtime hosting environment: yum install aspnetcore-runtime-2.1
     or install
     compile / development environment: yum install dotnet-sdk-2.1

5. When prompted, enter the command y

     dotnet --version

     dotnet --info

Published 65 original articles · won praise 28 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_26900081/article/details/102906418