Chapter 2. Installing .NET 10.0
.NET 10.0 is included in the AppStream repositories for RHEL 10. These repositories are enabled by default on RHEL 10 systems.
The dotnet-sdk-10.0 package installs both the .NET Software Development Kit (SDK) and the corresponding .NET runtime. When a newer SDK version for .NET 10.0 becomes available, you can update your installation using dnf.
Prerequisites
You have an installed and registered RHEL 10 system with attached subscriptions.
For more information, see Interactively installing RHEL from installation media.
Procedure
Install the
dotnet-sdk-10.0package and its dependencies:sudo dnf install dotnet-sdk-10.0 -y
$ sudo dnf install dotnet-sdk-10.0 -yCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Verify that .NET is installed correctly:
dotnet --info
$ dotnet --infoCopy to Clipboard Copied! Toggle word wrap Toggle overflow The output displays information about the installed .NET SDK and runtime environment.