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.

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,118 questions
Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
456 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 55,366 Reputation points
    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