Linux-DotnetSdk安装
1.1密钥下载
sudo wget -Uvh https://packages.microsoft.com/config/debian/10/packages-microsoft-prod
1.2执行密钥
双击:packages-microsoft-prod.deb
更新:sudo apt-get update
1.3安装SDK
sudo apt-get install dotnet-sdk-8.0
sudo apt-get install dotnet-sdk-7.0
2.1密钥下载
2.2sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
2.3安装SDK
sudo yum install dotnet-sdk-8.0
sudo yum install dotnet-sdk-7.0
3.1示例说明
sudo yum install dotnet-sdk-6.0
此命令包含以下所有安装的内容:
aspnetcore-runtime-6.0.x86_64 0:6.0.11-1 aspnetcore-targeting-pack-6.0.x86_64 0:6.0.11-1 dotnet-apphost-pack-6.0.x86_64 0:6.0.11-1 dotnet-host.x86_64 0:7.0.0-1 dotnet-hostfxr-6.0.x86_64 0:6.0.11-1 dotnet-runtime-6.0.x86_64 0:6.0.11-1 dotnet-runtime-deps-6.0.x86_64 0:6.0.11-1 dotnet-targeting-pack-6.0.x86_64 0:6.0.11-1 netstandard-targeting-pack-2.1.x86_64 0:2.1.0-1
3.2测试
dotnet --info
dotnet --list-sdks
dotnet --list-runtimes
3.3其它OS密钥清单
https://packages.microsoft.com/config/
标签:11,x86,sudo,Deepin,64,6.0,dotnet,安装,DotnetSdk From: https://www.cnblogs.com/oumi/p/18094342