How to download .netcoreapp3.1 on Linux CentOS7

deskcheck1-0579 411 Reputation points
2022-01-26T14:31:39.59+00:00

Hi,

How do I get the .netcore runtime 3.1 version to download to Linux. I tried downloading from:
https://dotnet.microsoft.com/en-us/download/dotnet/3.1

but I realized it's the ASPNET version that gets downloaded. I don't need the ASPNET version since mine is a console application.

Or does it not matter? Can I use the ASPNET .net core 3.1 version to run my console application executable on Linux?

Appreciate any suggestions.

Developer technologies .NET .NET Runtime
Microsoft 365 and Office Skype for Business Linux
Developer technologies .NET .NET CLI
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-01-26T15:25:00.917+00:00

    The sdk has everything, and there are two runtimes for Linux. Asp.net core and .net runtime. The desktop runtime is windows only.

    If you want to build an app, then install the sdk, if you just want to run a console app, install .net runtime for Linux.

    Note: 3.1 is nearing end of life, you should use .net 6


0 additional answers

Sort by: Most helpful

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.