添加仓储指令
rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
执⾏安装命令:
1、如果不需要在linux上编译源码
yum install dotnet-runtime-6.0
2、如果需要在linux上编译源码
yum install dotnet-sdk-6.0
3、如果是有webapi接⼝或者⽹页
yum install aspnetcore-runtime-6.0
安装完成后输⼊指令
dotnet --info 查看是否安装正确
Centos7中安装Net5.0运⾏时,只需要把6.0替换为5.0
标签:centos,yum,install,linux,dotnet,net6,安装 From: https://www.cnblogs.com/siyunianhua/p/17148832.html