Centos8手动安装ASP.NET Core 运行时 6.0.5

wget https://download.visualstudio.microsoft.com/download/pr/a0e9ceb8-04eb-4510-876c-795a6a123dda/6141e57558eddc2d4629c7c14c2c6fa1/aspnetcore-runtime-6.0.5-linux-x64.tar.gz

DOTNET_FILE=aspnetcore-runtime-6.0.5-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̶.̶  阅读(306)  评论(0编辑  收藏  举报