Installing
-
2. Installing Requirement
Then to Install Required Package
Simply run:sudo yum install scl-utils
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo -
3. Adding .NET Repo
Then to Add .NET Repository for Enterprise Linux
On EL 7 play:sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
This Package includes the GPG Signing Key.
-
4. Installing .NET Core
Then to Install .NET Core 6 in CentOS
For the Dotnet SDK play:sudo yum install dotnet-sdk-6
And instead for ASP.NET Core Runtime (Already included in the SDK):
sudo yum install aspnetcore-runtime-6.0
Contents