Chapter 2. Installing .NET Core 3.1
.NET Core 3.1 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 Core 3.1 runtime with the latest 3.1 Software Development Kit (SDK). When a newer SDK becomes available for .NET Core 3.1, you can install it by running sudo yum install
.
Prerequisites
Installed and registered RHEL 8 with attached subscriptions.
For more information, see Performing a standard RHEL installation.
Procedure
Install .NET Core 3.1 and all of its dependencies:
sudo yum install dotnet-sdk-3.1 -y
$ sudo yum install dotnet-sdk-3.1 -y
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification steps
Verify the installation:
dotnet --info
$ dotnet --info
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The output returns the relevant information about the .NET Core installation and the environment.