I created an APT repository of packages that can install .NET runtimes and SDKs on Raspberry Pis. This is an alternative to building a self-contained app or manually installing .NET using the dotnet-install.sh script, and it may be preferable because runtime updates are much easier and apps are smaller. However, if you want to minimize app startup time, an AOT-compiled .NET 8 ARM64 application may the best choice, which is always self-contained and does not require these packages.
These packages contain official ARM32 and ARM64 .NET builds from Microsoft. They can install .NET Runtimes, ASP.NET Core Runtimes, and SDKs version 6 and above on Raspberry Pis 2 and above running Raspberry Pi OS 10 buster and above.
You can install it on your Raspberry Pi using the instructions at https://github.com/Aldaviva/RaspberryPiDotnetRepository.
Once the repository is installed, you can install a package using a command like "sudo apt install dotnet-runtime-latest", depending on which package you want. Updates are as easy as "sudo apt update && sudo apt upgrade".
These packages contain official ARM32 and ARM64 .NET builds from Microsoft. They can install .NET Runtimes, ASP.NET Core Runtimes, and SDKs version 6 and above on Raspberry Pis 2 and above running Raspberry Pi OS 10 buster and above.
You can install it on your Raspberry Pi using the instructions at https://github.com/Aldaviva/RaspberryPiDotnetRepository.
Once the repository is installed, you can install a package using a command like "sudo apt install dotnet-runtime-latest", depending on which package you want. Updates are as easy as "sudo apt update && sudo apt upgrade".
Statistics: Posted by Aldaviva — Sun Sep 15, 2024 3:01 am