Skip to content

Instantly share code, notes, and snippets.

@darkoverlordofdata
Last active June 9, 2019 07:26
Show Gist options
  • Save darkoverlordofdata/0904b2ffb8ede61b2e9ca132168b6358 to your computer and use it in GitHub Desktop.
Save darkoverlordofdata/0904b2ffb8ede61b2e9ca132168b6358 to your computer and use it in GitHub Desktop.
Install dotnet core on buster

Quick guide to get dotnet core runtime and sdk 2.2.3 on Debian Buster:

thanks to Unable to install latest x64 sdk on Debian Buster #1632

(You cannot use MS's Debian9 install guide. You have to install it manually, the good thing is you don't have to add MS's repository to your installation :-))

Download library files:

wget -O /tmp/dotnet_runtime_2.2.3.tar.gz https://download.visualstudio.microsoft.com/download/pr/28271651-a8f6-41d6-9144-2d53f6c4aac4/bb29124818f370cd08c5c8cc8f8816bf/dotnet-runtime-2.2.3-linux-x64.tar.gz

Download sdk files:

wget -O /tmp/dotnet_sdk_2.2.3.tar.gz  https://download.visualstudio.microsoft.com/download/pr/5e92f45b-384e-41b9-bf8d-c949684e20a1/67a98aa2a4e441245d6afe194bd79b9b/dotnet-sdk-2.2.300-linux-x64.tar.gz

Make binary folder:

sudo mkdir /usr/share/dotnet/

Add binary to PATH:

export PATH=$PATH:/usr/share/dotnet/

Unpak:

sudo tar zxf /tmp/dotnet_runtime_2.2.3.tar.gz -C /usr/share/dotnet/
sudo tar zxf /tmp/dotnet_sdk_2.2.3.tar.gz -C /usr/share/dotnet/

Confirm installation:

dotnet --info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment