❔ Having trouble managing runtime/sdk on Ubuntu
Hey guys I am trying to have both dotnet6 and 7 on ubuntu, but seems like it doesn't work fine using apt.
so what is the correct way to have them both?
13 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
my ubuntu is 22.04 and I used this instructions https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2204-microsoft-package-feed
and once i did that i ran
sudo apt-get install -y dotnet-sdk-6.0 aspnetcore-runtime-6.0 dotnet-runtime-6.0 dotnet-sdk-7.0 aspnetcore-runtime-7.0 dotnet-runtime-7.0
But then i get this
I even redone the process again after purging everything for dotnet
like shouldn't the runtime also show up in the list?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yah the odd part is when i run a dotnet6 program it just runs fine so it looks broken
its like some ppl say use the install script or the binaries
I have a feeling in the end i got to use the script
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
hmm ok how did you install more than one runtime?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
XD ok I will try this on WSL see what happens
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yap XD
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.