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

 

posted @ 2020-05-26 22:20  岳帅超  阅读(3299)  评论(0编辑  收藏  举报