.Net Core CLI–Ubuntu 14安装

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=1.0.0.001598-

如果使用web功能的话(kestrel)还需要安装libuv

sudo apt-get install make automake libtool curl

curl -sSL https://github.com/libuv/libuv/archive/v1.8.0.tar.gz | sudo tar zxfv - -C /usr/local/src

cd /usr/local/src/libuv-1.8.

sudo sh autogen.sh

sudo ./configure

sudo make

sudo make install

sudo rm -rf /usr/local/src/libuv-1.8. && cd ~/

sudo ldconfig

参考资料:

http://dotnet.github.io/getting-started/

https://docs.asp.net/en/latest/getting-started/installing-on-linux.html#installing-on-ubuntu-14-04

上一篇:nodejs全局安装与本地安装区别


下一篇:数据库--oracle安装配置(本地安装的步骤及各种问题解决方案)