# 以下示例适用于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
如对本文有疑问, 点击进行留言回复!!
linux下文本编辑器vim的使用方法(复制、粘贴、替换、行号、撤销、多文件操作)
网友评论