79693817

Date: 2025-07-08 07:23:54
Score: 0.5
Natty:
Report link

I've been facing the same issue so what I did is the following manual steps because an updated repository for ubuntu doesn't exist anymore and the snap version is also only updated irregular.

wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x dotnet-install.sh
# you can choose your path here as the last parameter I just kept in my home directory
./dotnet-install.sh --channel 9.0 --install-dir ./dotnet-sdk

Then I created a symbolic link.

sudo ln -s /home/<myuser>/dotnet-sdk/dotnet /usr/bin/dotnet

Before following those steps, you might need to purge all dotnet related apt installation.

sudo apt purge dotnet* --auto-remove
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • High reputation (-1):
Posted by: alsami