Skip to content

Install

Step 1 :


Download Dotnet All in One Shell File

Dotnet Net All in One : Link

$ wget https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh

Step 2 :


Give Permission To Execute File

$ chmod +x ./dotnet-install.sh

Step 3 :


Install Dotnet Sdk and Runtime

WARNING

Must set the --verison 9.0.0, if you not set --version or --version latest it will install the old version dotnet skd and runtime.

$ ./dotnet-install.sh  --architecture amd64 --channel LTS --os linux --version 9.0.303

Step 4 :


Set Dotnet Evn Variable Path

$ export PATH=$PATH:/root/.dotnet