Skip to content

Instantly share code, notes, and snippets.

@natec425
Created April 17, 2017 16:46
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 natec425/14e606432c58cc09085ca48f7ee7bfb8 to your computer and use it in GitHub Desktop.
Save natec425/14e606432c58cc09085ca48f7ee7bfb8 to your computer and use it in GitHub Desktop.
Finish installing dotnet core on ubuntu 16.10
#! /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