.NET Core and Mono are open-source .NET platforms. .NET applications are developed using the C#, F# and VB.NET programming languages.
It is not advised to mix these packages with those provided by Microsoft, please disable any other repositories providing dotnet before installing these.
.NET Core 2.1 is not packaged in the proper Fedora repository and an extra step to enable the .NET SIG’s copr repository repository is required:
$ sudo dnf copr enable @dotnet-sig/dotnet
.NET Core 3.1 is included in Fedora 32 (and later versions.) Simply install it using one of the below variants:
Install the latest SDK:
$ sudo dnf install dotnet
Or a specific version:
# Install .NET Core 3.1 SDK $ sudo dnf install dotnet-sdk-3.1
To install runtime only, for example to merely deploy already prebuilt applications, where x stands for major and y stands for minor version:
$ sudo dnf install dotnet-runtime-x.y
Preview packages can be installed after enabling the preview copr repository repository:
$ sudo dnf copr enable @dotnet-sig/dotnet-preview $ sudo dnf install dotnet-sdk-x.y
You can create your first console app following instructions in this official guide.