Ubuntu – 安装.net核心

前端之家收集整理的这篇文章主要介绍了Ubuntu – 安装.net核心前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我想尝试新的.net核心。我正在按照 https://www.microsoft.com/net/core的指示,但不行。
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dotnet-dev-1.0.0-preview1-002702 : Depends: dotnet-sharedframework-microsoft.netcore.app-1.0.0-rc2-3002702 but it is not going to be installed
E: Unable to correct problems,you have held broken packages.

我正在运行ubuntu 16.04。

UPDATED see at the end. (thanks to 07000)

.NET core now supports Ubuntu 14.04,16.04,16.10 & Linux Mint 17.

Please check the 07001 for all the details.

今天(2016年5月)仅支持Ubuntu 14.04。

我通过添加成功安装在Ubuntu 15.10上

deb http://security.ubuntu.com/ubuntu trusty-security main

到/ etc / apt / sources-list

一旦完成,你应该做:

apt-get update

apt-get upgrade

再次命令

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

它会要求安装额外的包装;你回答是的,你已经完成了!

通过打字测试

dotnet --version

请享用!

更新

原文链接:https://www.f2er.com/ubuntu/349799.html

猜你在找的Ubuntu相关文章