.NET Platforms

.NET and Mono are open-source .NET platforms. .NET applications are developed using the C#, F# and VB.NET programming languages.

.NET Installation

.NET packages are available in Fedora repositories.

It is not advised to mix these packages with those provided by Microsoft. Please disable any other repositories providing dotnet before installing these. If you run into errors, see troubleshooting linux package mixup for some suggestions on how to fix the issue.

To install a .NET SDK only, run this command, where x stands for major and y stands for minor version:

$ sudo dnf install dotnet-sdk-x.y

To install the ASP.NET Core Runtime only, for example to deploy an already built ASP.NET Core applications, where x stands for major and y stands for minor version:

$ sudo dnf install aspnetcore-runtime-x.y

To install runtime only, for example to merely deploy an already built (non ASP.NET Core) applications, where x stands for major and y stands for minor version:

$ sudo dnf install dotnet-runtime-x.y

.NET 7

.NET 7 is a Standard Term Support release and will reach its End of Life in May 2024.

Install the .NET 7 SDK:

$ sudo dnf install dotnet-sdk-7.0

Install the ASP.NET Core 7 Runtime:

$ sudo dnf install aspnetcore-runtime-7.0

Install the .NET 7 Runtime:

$ sudo dnf install dotnet-runtime-7.0

.NET 6

.NET 6 is a Long Term Support release and will reach its End of Life in November 2024.

Install the .NET 6 SDK:

$ sudo dnf install dotnet-sdk-6.0

Install the ASP.NET Core 6 Runtime:

$ sudo dnf install aspnetcore-runtime-6.0

Install the .NET 6 Runtime:

$ sudo dnf install dotnet-runtime-6.0

Preview versions

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

Please note that these preview packages aren’t fully tested. They may contain bugs and may destroy data.

Getting Started

You can create your first console app following instructions in this official guide.


Authors: Jamie Phillips, Jarek Prokop, Nick Dirschel, Omair Majid, Radka Janek