Centos8手动安装.net6

wget https://download.visualstudio.microsoft.com/download/pr/c505a449-9ecf-4352-8629-56216f521616/bd6807340faae05b61de340c8bf161e8/dotnet-sdk-6.0.201-linux-x64.tar.gz

DOTNET_FILE=dotnet-sdk-6.0.201-linux-x64.tar.gz
export DOTNET_ROOT=/usr/lib64/dotnet
mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT"

ln -s /usr/lib64/dotnet/dotnet /usr/bin/

 

posted @ 2021-12-18 08:58  b̶i̶n̶g̶.̶  阅读(68)  评论(0编辑  收藏  举报