https://github.com/dahln/dotnet-installer
Install dotnet SDK on Raspberry Pi
https://github.com/dahln/dotnet-installer
dotnet dotnet5 dotnet6 raspberry-pi raspberrypi raspberrypios
Last synced: about 1 month ago
JSON representation
Install dotnet SDK on Raspberry Pi
- Host: GitHub
- URL: https://github.com/dahln/dotnet-installer
- Owner: dahln
- License: mit
- Created: 2021-12-15T18:30:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-09-23T02:20:03.000Z (8 months ago)
- Last Synced: 2026-03-31T02:40:29.471Z (2 months ago)
- Topics: dotnet, dotnet5, dotnet6, raspberry-pi, raspberrypi, raspberrypios
- Language: Shell
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-installer
Install .NET SDK on an ARM64 LInux device. 32 bit not tested.
This script has been tested on:
- Ubuntu 20.04 ARM64
- Raspberry Pi 4 running Raspberry Pi OS
Microsoft does not support installing the dotnet SDK on ARM devices using a package manager. See the Microsoft documentation for details. To install the dotnet SDK on an ARM device, you can download the SDK and manually install it. This script downloads the file, extracts the contents to the correct folder location, and updates the OS path references. The updated path references will persist after reboot.
When a minor .NET update is published, simple run the "uninstaller.sh" script and then run the latest isntall script. For example, if you are currently running 6.0.2, run the uninstall and then the install, 6.0.3 should now be installed. Verify with "dotnet --info".
#### dotnet 9
```
wget -O - https://raw.githubusercontent.com/dahln/dotnet-installer/master/installer-9.0.sh | sudo bash
```
#### dotnet 8
```
wget -O - https://raw.githubusercontent.com/dahln/dotnet-installer/master/installer-8.0.sh | sudo bash
```
#### uninstaller
```
wget -O - https://raw.githubusercontent.com/dahln/dotnet-installer/master/uninstaller.sh | sudo bash
```
## Attribution
This project referenced and reused parts of this project: https://github.com/pjgpetecodes/dotnet5pi