当前位置 : 主页 > 网络编程 > net编程 >

linux 安装 Net netcore 3.1 5.0 6.0

来源:互联网 收集:自由互联 发布时间:2023-09-03
net SDK和runtime .Net Core 3.1和runtime sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm sudo yum install dotnet-sdk-3.1 sudo yum install aspnetcore-runtime-3.1 # 检查安装是否正确,不出错就


net  SDK和 runtime

.Net Core 3.1 和runtime

sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo yum install dotnet-sdk-3.1
sudo yum install aspnetcore-runtime-3.1
# 检查安装是否正确,不出错就OK
dotnet --info

 linux 安装 Net netcore 3.1 5.0 6.0_net

.Net 5 SDK和runtime

sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo yum install dotnet-sdk-5.0
sudo yum install aspnetcore-runtime-5.0
# 检查安装是否正确,不出错就OK
dotnet --info

 linux 安装 Net netcore 3.1 5.0 6.0_centos_02

 .Net 6 SDK和runtime

sudo rpm -Uvh https://packages.microsoft.com/config/centos/8/packages-microsoft-prod.rpm
sudo yum install aspnetcore-runtime-6.0
sudo yum install dotnet-sdk-6.0
# 检查安装是否正确,不出错就OK
dotnet --info

 linux 安装 Net netcore 3.1 5.0 6.0_软连接_03

注意:软连接问题  

ln -s /use/share/dotnet/dotnet   /usr/local/bin/dotnet 


【文章由韩国大带宽服务器 http://www.558idc.com/lg.html处的文章,转载请说明出处】
上一篇:net.core 支付宝 APP 支付
下一篇:没有了
网友评论