Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2797

installing dotnet6 on ubuntu 22.04 WSL2 - installed but not showing in sdk-list

$
0
0

I am slowly transitioning to use ubuntu / linux WSL2 as primary for development - instead of windows, but there are still a lot of things I don't understand and have to look up, I am guessing this is one of those things

Have clean installed dotnet6 by using

sudo apt-get update && \sudo apt-get install -y dotnet6

Install is successful, however after running list sdks I get the following

dotnet --list-sdks3.1.421 [/usr/share/dotnet/sdk]5.0.408 [/usr/share/dotnet/sdk]

also noticed that dotnet6 is not actually installed in the location /usr/share/dotnet/sdk where the other sdks are installed by default,instead it is installed in /usr/lib/dotnet/dotnet6-6.0.108/sdk/6.0.108 when I used the above mentioned apt-get

How do I get dotnet tool to pick up that dotnet6 is installed ?

I am using oh-myzsh


Viewing all articles
Browse latest Browse all 2797

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>