Fork me on GitHub

Ubuntu 14 安装 .Net Core

.Net Core的安装包的分发地址如下:

https://apt-mo.trafficmanager.net/repos/dotnet-release/pool/main/d/

 

方法一:

可以分别手动下载和安装sharedframework 和 SDK.

dotnet-dev-1.0.0-preview2-003131/

dotnet-sharedframework-microsoft.netcore.app-1.0.1/

 

方法二:通过命令行安装

sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'                                

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

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893

sudo apt-get update

sudo apt-get install dotnet-dev-1.0.0-preview2-003131

posted @ 2016-10-01 08:57  ZHK的博客  阅读(684)  评论(0编辑  收藏  举报