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

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

问题描述

是否可以通过 Raspbian Raspberry Pi 4 上安装.Net Core?我在Raspberry Pi 3上找到了许多有关.Net Core的说明,例如( https://github.com/dotnet/core/blob/master/样本/RaspberryPiInstructions.md )或具有Linux的Raspberry Pi上的.Net Core。我已经安装了Visual Studio Code,现在我想安装.Net Core。如果您在 Raspberry Pi 4 上与 Raspbian 安装了.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 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天全站免登陆