Last active
May 11, 2018 19:02
-
-
Save devhawk/8cd7fd4bd6f6c5d11ca04072af62e2c3 to your computer and use it in GitHub Desktop.
installing dotnet on WSL Debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # enhancement to https://www.microsoft.com/net/learn/get-started/linux/debian9 | |
| # debian WSL appears to need --no-check-certificate for wget from packages.microsoft.com | |
| wget --no-check-certificate -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg | |
| sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/ | |
| wget --no-check-certificate -q https://packages.microsoft.com/config/debian/9/prod.list | |
| sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list | |
| # need apt-transport-https installed | |
| sudo apt-get update | |
| sudo apt-get install apt-transport-https -y | |
| sudo apt-get update | |
| sudo apt-get install dotnet-sdk-2.1.200 -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment