Step-by-step – .NET Core CentOS 7 Installation

January 2, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 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

  2. 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.

  3. 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


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress