Chapter 2. Installing .NET 6.0

.NET 6.0 is included in the AppStream repositories for RHEL 8. The AppStream repositories are enabled by default on RHEL 8 systems.

You can install the .NET 6.0 runtime with the latest 6.0 Software Development Kit (SDK). When a newer SDK becomes available for .NET 6.0, you can install it by running sudo yum upgrade.



  • Install .NET 6.0 and all of its dependencies:

    $ sudo yum install dotnet-sdk-6.0 -y

Verification steps

  • Verify the installation:

    $ dotnet --info

    The output returns the relevant information about the .NET installation and the environment.