系统相关
首页 > 系统相关> > 在Linux中安装ASPNET.Core3.0运行时

在Linux中安装ASPNET.Core3.0运行时

作者:互联网

 

# 以下示例适用于x64位runtime v3.0.0
mkdir /runtimes
cd /runtimes
wget https://download.visualstudio.microsoft.com/download/pr/b0c44e05-b7a1-4221-94ec-a0c0d3a11eed/afc61567dd6db8f097e244871889458c/aspnetcore-runtime-3.0.0-linux-x64.tar.gz
mkdir aspnetcore-runtime-3.0.0-linux-x64
tar -zxvf aspnetcore-runtime-3.0.0-linux-x64.tar.gz -C /runtimes/aspnetcore-runtime-3.0.0-linux-x64
ln -sf /runtimes/aspnetcore-runtime-3.0.0-linux-x64/dotnet /usr/local/bin

# 安装完成,查看版本信息
dotnet --info

 

 

# 以下示例适用于arm64位runtime v3.0.0,本人使用华为鲲鹏系列
mkdir /runtimes
cd /runtimes
wget https://download.visualstudio.microsoft.com/download/pr/5cbf9f66-7945-43e2-9b7c-351f900e9893/2fcd48f3d4db99283ebdb46daf9bacec/aspnetcore-runtime-3.0.0-linux-arm64.tar.gz
mkdir aspnetcore-runtime-3.0.0-linux-arm64
tar -zxvf aspnetcore-runtime-3.0.0-linux-arm64.tar.gz -C /runtimes/aspnetcore-runtime-3.0.0-linux-arm64
ln -sf /runtimes/aspnetcore-runtime-3.0.0-linux-arm64/dotnet /usr/local/bin

# 安装完成,查看版本信息
dotnet --info

 

标签:tar,aspnetcore,Linux,runtimes,3.0,linux,Core3.0,runtime,ASPNET
来源: https://www.cnblogs.com/chenyinxin/p/11605828.html