无法在Ubuntu 14.04中安装.Net Core

编程入门 行业动态 更新时间:2024-10-28 00:16:15
本文介绍了无法在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] apt-mo.trafficmanager /repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d /dotnetdev.list' sudo apt-key adv --keyserver apt-mo.trafficmanager --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

本文发布于:2023-07-04 10:59:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1023492.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Ubuntu   Core   Net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!