How to install C# and .NET on Linux Mint 21.1

Harikrishnan Madhavankutty 5 Reputation points
2023-06-08T11:22:23.9533333+00:00
dotnet --version
The command could not be loaded, possibly because:
  * You intended to execute a .NET application:
      The application '--version' does not exist.
  * You intended to execute a .NET SDK command:
      No .NET SDKs were found.
What does this mean?
I ran the .sh file and it installed version 6 point something. But when I type "dotnet --version" in terminal I the result as above mentioned and "dotnet --list-sdks" doesnt output anything. Why? Btw: I have runtime installed and "dotnet --runtimes" do output the correct results.
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 41,001 Reputation points
    2023-06-09T10:22:27.49+00:00
    0 comments No comments