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.
Developer technologies | .NET | Other
{count} votes

1 answer

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.