Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
428 views
in Technique[技术] by (71.8m points)

.Net Core on Raspberry Pi 4 with Raspbian?

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Download .Net Core 3.1 SDK from HERE

Make Directory:

sudo mkdir /usr/share/dotnet/

PATH to environment:

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

or just a symlink

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

Copy by Extracting:

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

Confirm Installation:

dotnet --info

you can find in detail from Here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...