无法在Ubuntu 14.04中安装.Net Core [英] Not able to install .Net core in ubuntu 14.04
本文介绍了无法在Ubuntu 14.04中安装.Net Core的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Linux对我来说是全新的。我正在尝试在ubuntu 14.05中安装.Net Core。
Linux is totally new to me. i am trying to install .Net Core in ubuntu 14.05.
我尝试按照以下命令安装ubuntu
I try following command to install ubuntu
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-get update
这些命令在我成功运行时在命令下运行我遇到错误
These command run successfully when i run below command i got error
sudo apt-get install dotnet-dev-1.0.0-preview2-003131
我的错误是
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-dev-1.0.0-preview1-002702
E: Couldn't find any package by regex 'dotnet-dev-1.0.0-preview1-002702
推荐答案
我遇到了同样的问题。 .NET Core似乎不支持32位Ubuntu。我改用64位Ubuntu,问题就解决了。
I met the same problem. It seems like .NET Core don't support 32-bit Ubuntu. I changed to 64-bit Ubuntu, the problem is solved.
这篇关于无法在Ubuntu 14.04中安装.Net Core的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文