linux-CentOS安装netcore

注册:sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

 

 

sudo yum update
安装:sudo yum install aspnetcore-runtime-2.2

 

 

缺少sdk的话:

sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo yum install dotnet-sdk-2.2

 

 

linux安装教程:https://dotnet.microsoft.com/download/linux-package-manager/centos/runtime-current

SDK:https://dotnet.microsoft.com/download/linux-package-manager/centos/sdk-current

你可能感兴趣的:(学习)