带有 Raspbian 的 Raspberry Pi 4 上的 .Net Core? [英] .Net Core on Raspberry Pi 4 with Raspbian?

查看:42
本文介绍了带有 Raspbian 的 Raspberry Pi 4 上的 .Net Core?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 RaspbianRaspberry Pi 4 上安装 .Net Core?我在 Raspberry Pi 3 上找到了许多关于 .Net Core 的说明,例如(https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md) 或 .Net Core 在 Raspberry Pi 和 Linux 上.我已经安装了 Visual Studio Code,现在我想安装 .Net Core.如果您在 Raspberry Pi 4Raspbian 上安装了 .Net Core,请分享您的经验和方法.谢谢.

Is it possible to install .Net Core on Raspberry Pi 4 with Raspbian? I found a number of instructions about .Net Core on Raspberry Pi 3 e.g. (https://github.com/dotnet/core/blob/master/samples/RaspberryPiInstructions.md) or .Net Core on Raspberry Pi with Linux. I have already installed Visual Studio Code and now I want to install .Net Core. Please share your experience and method if you installed .Net Core on Raspberry Pi 4 with Raspbian. Thanks.

推荐答案

这里

制作目录:

sudo mkdir /usr/share/dotnet/

环境路径:

export PATH=$PATH:/usr/share/dotnet/dotnet 
export DOTNET_ROOT=/usr/share/dotnet/dotnet

或者只是一个符号链接

sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

通过提取复制:

sudo tar zxf dotnet-sdk-3.1.100-linux-arm.tar.gz -C /usr/share/dotnet/

确认安装:

dotnet --info

您可以从这里

这篇关于带有 Raspbian 的 Raspberry Pi 4 上的 .Net Core?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆