C
C#2y ago
POQDavid

❔ 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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
POQDavid
POQDavid2y ago
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
POQDavid
POQDavid2y ago
But then i get this
POQDavid
POQDavid2y ago
I even redone the process again after purging everything for dotnet like shouldn't the runtime also show up in the list?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
POQDavid
POQDavid2y ago
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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
POQDavid
POQDavid2y ago
hmm ok how did you install more than one runtime?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
POQDavid
POQDavid2y ago
XD ok I will try this on WSL see what happens
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
POQDavid
POQDavid2y ago
yap XD
Accord
Accord2y ago
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.