Created
April 17, 2017 16:46
-
-
Save natec425/14e606432c58cc09085ca48f7ee7bfb8 to your computer and use it in GitHub Desktop.
Finish installing dotnet core on ubuntu 16.10
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
#! /bin/bash | |
set -e | |
echo "Downloading libicu55" | |
curl http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7ubuntu0.1_amd64.deb > libicu55_55.1-7ubuntu0.1_amd64.deb | |
echo "Installing libicu55" | |
sudo dpkg -i libicu55_55.1-7ubuntu0.1_amd64.deb | |
echo "Cleaning up libicu55_55.1-7ubuntu0.1_amd64.deb" | |
rm libicu55_55.1-7ubuntu0.1_amd64.deb | |
echo "Adding dotnet dependencies for Ubuntu 16.04 (we need them for dotnet-sharedframework-microsoft.netcore.app-1.0.4)" | |
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list' | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893 | |
sudo apt-get update | |
echo "Installing dotnet-sharedframework-microsoft.netcore.app-1.0.4" | |
sudo apt install -y dotnet-sharedframework-microsoft.netcore.app-1.0.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment