在线安装:
1.将 Microsoft 包签名密钥添加到受信任密钥列表,并添加 Microsoft 包存储库:sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
2.安装Asp.net Core运行时:sudo yum install aspnetcore-runtime-5.0
3.安装sdk:sudo yum install dotnet-sdk-5.0
4.测试是否安装成功:dotnet --info 或 dotnet --version
标签:5.0,步骤,sudo,dotnet,rpm,core5.0,Centos7.0,安装 From: https://www.cnblogs.com/liuxy-china/p/17789114.html