CentOS安装.netcore

安装.Net Core

1
2
3
4
5
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo yum update -y
sudo yum install -y dotnet-runtime-2.1
dotnet --info

安装.Net Core SDK

1
2
3
sudo yum install -y dotnet-sdk-2.1
dotnet --version

安装Asp.Net Core

1
2
3
sudo yum install -y aspnetcore-runtime-2.1
dotnet --info

卸载.Net Core

1
2
3
sudo yum remove -y aspnetcore-*
sudo yum remove -y dotnet-*

参考

文章目录
  1. 安装.Net Core
  2. 安装.Net Core SDK
  3. 安装Asp.Net Core
  4. 卸载.Net Core
  5. 参考
本站总访问量 | 本文总阅读量