Installing
-
2. Installing Requirement
Then to Install Required Package
Simply run:sudo dnf install scl-utils
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo -
3. Installing .NET
Then to Install .NET 5.0 in CentOS
For the Dotnet SDK play:sudo dnf install dotnet-sdk-5.0
And instead for ASP.NET Runtime (Already included in the SDK):
sudo dnf install aspnetcore-runtime-5.0
Finally, to install only the .NET Runtime without ASP.NET support:
sudo dnf install dotnet-runtime-5.0
Contents