Chapter 2. Installing .NET 8.0
.NET 8.0 is included in the AppStream repositories for RHEL 9. The AppStream repositories are enabled by default on RHEL 9 systems.
You can install the .NET 8.0 runtime with the latest 8.0 Software Development Kit (SDK). When a newer SDK becomes available for .NET 8.0, you can install it by running sudo yum install
.
Prerequisites
Installed and registered RHEL 9.3 with attached subscriptions.
For more information, see Performing a standard RHEL 9 installation.
Procedure
Install .NET 8.0 and all of its dependencies:
$ sudo yum install dotnet-sdk-8.0 -y
Verification steps
Verify the installation:
$ dotnet --info
The output returns the relevant information about the .NET installation and the environment.