Centos 安装.NET CORE 3.1

1、注册 Microsoft 密钥和源

sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm

2、安装 .NET Core SDK 

sudo yum install dotnet-sdk-3.1

3、安装 ASP.NET Core 运行时

sudo yum install aspnetcore-runtime-3.1

4、测试.NET SDK安装成功:

dotnet --version

 

转:https://www.cnblogs.com/shuaichao/p/12969103.html

posted @ 2020-12-15 10:00  hellocjr  阅读(477)  评论(0编辑  收藏  举报