.Net Core on Raspberry Pi 4 with Raspbian?

2020-01-29 01:40发布

问题:

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.

回答1:

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

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