Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install DotNet Core SDK on Linux
#!/bin/bash
## Install DotNet Core on Linux 64Bits
## Author: Nilton OS www.linuxpro.com.br
## https://gist.github.com/richlander/467813274cea8abc624553ee72b28213
## https://dotnet.microsoft.com/download/linux-package-manager/sdk-current
## Dependencies
## .NET Core has the following dependencies, on Ubuntu (other distros will vary):
## libc6, libgcc1, libgssapi-krb5-2, libicu60, liblttng-ust0, libssl1.0.0, libstdc++6, zlib1g
curl -SL -o dotnet.tar.gz https://download.visualstudio.microsoft.com/download/pr/4f51cfd8-311d-43fe-a887-c80b40358cfd/440d10dc2091b8d0f1a12b7124034e49/dotnet-sdk-3.0.101-linux-x64.tar.gz
mkdir -p /usr/share/dotnet
tar -zxf dotnet.tar.gz -C /usr/share/dotnet
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.