rpi-rgb-led-matrix icon indicating copy to clipboard operation
rpi-rgb-led-matrix copied to clipboard

c#

Open Dasca71 opened this issue 1 year ago • 2 comments

Hi, I have tried several times to install .NET 6 to run the sample projects but without success. Can someone guide me on the correct way to install .NET on a Raspberry Pi running the DietPi distribution?

and of course this command sudo apt install dotnet6 don't work

thx in advance

Davide

Dasca71 avatar Aug 01 '24 14:08 Dasca71

Greetings,

You mean, C# for raspberry pi? What environment? link? I'm very interested and together we can take this out

davemaster avatar Aug 01 '24 16:08 davemaster

Hi, I have tried several times to install .NET 6 to run the sample projects but without success. Can someone guide me on the correct way to install .NET on a Raspberry Pi running the DietPi distribution?

and of course this command sudo apt install dotnet6 don't work

thx in advance

Davide

What about this link? THIS LINK ->

davemaster avatar Aug 01 '24 18:08 davemaster

Yes, as @davemaster said (a year ago) that's the link: https://learn.microsoft.com/en-us/dotnet/iot/deployment

Also, my two cents, you can use --channel LTS for the Long Term Support version (currently .net 8) or a specific version with --version:

curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --version 8.0.413
echo 'export DOTNET_ROOT=$HOME/.dotnet' >> ~/.bashrc
echo 'export PATH=$PATH:$HOME/.dotnet' >> ~/.bashrc
source ~/.bashrc

and then check with:

dotnet --version

Also, compiling with native AoT (Ahead of Time compiling), gives a huge performance boost.

ivancmz avatar Sep 16 '25 10:09 ivancmz