.Net Core Installation

Ref: https://www.microsoft.com/net/core#ubuntu

1
2
3
4
5
6
7
8
9
sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'

sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893

sudo apt-get update

sudo apt-get install dotnet-dev-1.0.0-preview1-002702

dotnet-dev-1.0.0-beta-001793

1
dotnet -–version
1
2
3
mkdir hwapp
cd hwapp
dotnet new
1
2
dotnet restore
dotnet run
1
sudo apt-get upgrade dotnet