Skip to content

Instantly share code, notes, and snippets.

@mustakimali
Last active April 5, 2019 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mustakimali/04348e470029d683370ce6843dc4920e to your computer and use it in GitHub Desktop.
Save mustakimali/04348e470029d683370ce6843dc4920e to your computer and use it in GitHub Desktop.
#!/bin/sh
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/9/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get -y install apt-transport-https
sudo apt-get update
sudo apt-get -y install dotnet-sdk-2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment