core
core copied to clipboard
Ubuntu Server LTS 22.04 | Unable to locate package dotnet-sdk-6.0
Description
I would like to use dotnet6 on my Raspberry PI which runs Ubuntu Server LTS 22.04.1
But I am not able to install the packages with sudo apt install dotnet6
I've tried to of course first of all add the repo:
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
and then I installed the apt-transport-https package and updated and tried to install the dotnet-sdk-6.0
sudo apt install apt-transport-https
sudo apt update
sudo apt install dotnet-sdk-6.0
But that doesn't work for me :/ and I don't really know what to do at this point
Configuration
Raspberry Pi 4b 2G Ubuntu 22.04.1 LTS Server 64bit
.NET packages are not currently available for Arm64 devices like the Raspberry Pi 4:
.NET deb packages are now in Ubuntu Jammy 22.04 LTS for the x64 architecture and will soon be available for the Arm64 architecture as well as on all newer Ubuntu releases.
It would probably be easiest for you to use the Arm64 binaries from https://dotnet.microsoft.com/en-us/download/dotnet/6.0. Please download them from https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-6.0.401-linux-arm64-binaries and follow the instructions on that page on how to install it.
Closing it as it looks @omajid already answered it.