core icon indicating copy to clipboard operation
core copied to clipboard

Ubuntu Server LTS 22.04 | Unable to locate package dotnet-sdk-6.0

Open th3seb opened this issue 1 year ago • 1 comments

Description

I would like to use dotnet6 on my Raspberry PI which runs Ubuntu Server LTS 22.04.1 CleanShot 2022-09-15 at 22 43 59@2x But I am not able to install the packages with sudo apt install dotnet6 CleanShot 2022-09-15 at 22 45 43@2x

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 CleanShot 2022-09-15 at 22 49 29@2x

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 CleanShot 2022-09-15 at 22 51 02@2x 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

th3seb avatar Sep 15 '22 20:09 th3seb

.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.

omajid avatar Sep 16 '22 01:09 omajid

Closing it as it looks @omajid already answered it.

tarekgh avatar Feb 16 '23 23:02 tarekgh