在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

 

posted on 2019-09-29 08:55  陈银鑫  阅读(2129)  评论(0编辑  收藏  举报