.NET SDK on Linux (ubuntu 22.04.2 LTS on WSL) fails to install after successfully installing .NET 7.0.5 runtime

ChockoYosei 0 Reputation points
2023-06-01T19:05:36.6333333+00:00

Hi everybody,

I successfully installed the .NET 7.0.5 runtime on my Linux system (I am using WSL on Window OS), but I can't find or use the .NET SDK. I followed the installation instructions, but when I run the dotnet --info command, I get a message saying 'No SDKs were found'. How can I solve this problem and correctly install the .NET SDK to be able to develop applications with .NET on Linux?".

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,610 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 28,941 Reputation points Microsoft Vendor
    2023-06-02T06:10:43.4+00:00

    Hi @ChockoYosei ,

    You should install .Net SDK instead of .Net runtime.

    User's image

    Best Regards.

    Jiachen Li


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments