无法在ubuntu 14.04中安装.Net核心

时间:2016-10-16 16:41:16

标签: linux ubuntu ubuntu-14.04 .net-core

Linux对我来说是全新的。我正在尝试在ubuntu 14.05中安装.Net Core。

我尝试按照命令安装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

当我在命令下运行时出现错误

,这些命令成功运行
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

1 个答案:

答案 0 :(得分:1)

我遇到了同样的问题。看起来.NET Core不支持32位Ubuntu。我改为64位Ubuntu,问题解决了。

相关问题