$ dotnet run

This is a quick overview of what developers need to know about this new major release. The .NET 7 release is now available, targeting Red Hat Enterprise Linux (RHEL) 8.7, RHEL 9.1, and Red Hat OpenShift.

.NET 7 includes 7 new features

These are the seven new features included in the new .NET 7 release:

  1. IBM Power support: .NET is available for the following architectures: 
    • ppc64le (64-bit IBM Power) architecture for RHEL 8 and RHEL 9
    • x86_64 architecture (64-bit Intel/AMD)
    • ARM64 (64-bit ARM)
    • s390x (64-bit IBM Z)
  2. C# updated to C#11: New language version C# 11 included.
  3. New build support: Supports building completely native console applications.
  4. Performance improvements: Many performance improvements were made throughout the base libraries, GC and JIT. A new source generator for regular expressions eliminates the cost of compiling (or interpreting) regular expressions at runtime.
  5. New APIs and improved monitoring: It comes with new APIs for working with tar files and Unix file permissions. Improved support for OpenTelemetry.
  6. Generic Math: Allows writing generic algorithms that work against any of the built-in numeric types and enables building your own numeric types.
  7. ASP.NET Core 7 improvements: Improves the performance of HTTP/2 and HTTP/3. It extends the minimal APIs (introduced in .NET 6) with additional OpenAPI support, endpoint filters, and route groups.

How to install .NET 7

Follow these quick steps to install .NET 7 on RHEL.

1. Enter the following command:

# dnf install dotnet-sdk-7.0

2. Obtain the container image:

The .NET 7 SDK and runtime container images are available in the Red Hat Container Registry. Container images can be used standalone and with OpenShift on all supported architectures.

Enter the following command:

$ podman run --rm registry.redhat.io/ubi8/dotnet-70 dotnet --version


Standard-term support for .NET 7

The .NET 7 release provides standard-term support for 18 months. Support will be available until May 2024.

Based on the .NET release schedule, the next version, .NET 8, will be a long-term support release. The release target date is November 2023, and it will provide three years of support.

The existing .NET Core 3.1 and .NET 6 releases provide support until December 2022 and November 2024, respectively.


This article announced the release of .NET 7 and described its new features. We also demonstrated how to install .NET 7 on RHEL. Please comment below if you have any questions. We welcome your feedback.

Last updated: September 19, 2023