How To Enable EPEL Repository on CentOS 8

Enable EPEL Repository on CentOS 8

In this tutorial we will show you how to enable EPEL Repository on CentOS 8. For those of you who didn’t know, For those of you who didn’t know, EPEL(Extra Packages for Enterprise Linux) is a repo developed by Fedora project to ensure that there is a quality 3rd party packages available for enterprise users such as people who are using RHEL, CentOS, Oracle Linux and Scientific Linux. EPEL is a community effort to create a repository of high-quality add-on free software packages for RHEL-based distributions. Once you set up EPEL repository, you can use yum command to install any of close to 7,000 EPEL packages.

Enable EPEL Repository on CentOS 8

Step 1. First, you need to enable EPEL repository on your system. You don’t need to configure this repository manually in your yum. Instead, download the following package and install it, which will enable the EPEL repository on your system.

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

The output result will look like below:

Last metadata expiration check: 0:46:48 ago on Wed 02 Sep 2019 05:46:36 AM UTC.
epel-release-latest-8.noarch.rpm                                                    15 kB/s |  21 kB     00:01    
Dependencies resolved.
===================================================================================================================
 Package                      Arch                   Version                    Repository                    Size
===================================================================================================================
Installing:
 epel-release                 noarch                 8-5.el8                    @commandline                  21 k

Transaction Summary
===================================================================================================================
Install  1 Package

Total size: 21 k
Installed size: 30 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                           1/1 
  Installing       : epel-release-8-5.el8.noarch                                                               1/1 
  Running scriptlet: epel-release-8-5.el8.noarch                                                               1/1 
  Verifying        : epel-release-8-5.el8.noarch                                                               1/1 

Installed:
  epel-release-8-5.el8.noarch                                                                                      

Complete!

To verify that EPEL repository has been set up successfully, run the following command to list all available repositories on your system:

yum repolist

The output result will look like below:

repo id                                              repo name                                                             status
*epel                                                Extra Packages for Enterprise Linux 8 - x86_64                        1,238
google-cloud-sdk                                     Google Cloud SDK                                                        906
google-compute-engine                                Google Compute Engine                                                     6
rhui-codeready-builder-for-rhel-8-x86_64-rhui-rpms   Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) from RHUI    1,526
rhui-rhel-8-for-x86_64-appstream-rhui-rpms           Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)    6,003
rhui-rhel-8-for-x86_64-baseos-rhui-rpms              Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (RPMs)       2,172

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!