Example code for installing ASPNET. Core 3.0 runtime in Linux

  • 2021-07-03 01:03:13
  • OfStack


#  The following example applies to the x64 Bit 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
#  Installation is complete, view version information 
dotnet --info

#  The following example applies to the arm64 Bit runtime v3.0.0 I use Huawei Kunpeng series 
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
#  Installation is complete, view version information 
dotnet --info

. NET Core 2.0 Open Source Framework BitAdminCore Author.

Framework demonstration: http://bit.bitdao.cn

Framework usage: https://github.com/chenyinxin/cookiecutter-bitadmin-core

Summarize


Related articles: