rpi-rgb-led-matrix
rpi-rgb-led-matrix copied to clipboard
c#
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
Greetings,
You mean, C# for raspberry pi? What environment? link? I'm very interested and together we can take this out
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 ->
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.