How to enable EPEL repository on CentOS 7

Epel (Extra Package for Enterprise Linux) is a repository project provided by the Fedora team based on open source and free communities. It provides 100% high-quality additional packages for Linux distributions, including RHEL (Red Hat Enterprise Linux). CentOS And Scientific Linux. Enabling this repository gives you access to popular packages, including Nginx, R, and Python Pip. In this tutorial we will show you How to enable EPEL repository on CentOS 7 .

Why we use the EPEL repository

    • A large number of open source packages are provided for installation via Yum.
    • The Epel repo is 100% open source and is free to use.
    • It does not provide any core duplicate packages, and there are no compatibility issues.
    • All epel packages are maintained by the Fedora repository.


Before starting this tutorial, make sure you are logged in as a user with sudo privileges.

Enable EPEL library on CentOS 7

Enable EPEL repository on CentOS 7 This is a very simple task because Epel The rpm kit is included in CentOS Extras database . to installation of Epel To release the package, type the following command:

                      sudo yum install epel-release

Verify EPEL database Enable run yum repolist The commands for all available repositories are listed.

                      sudo yum repolist

The command will display the repository ID, name and number of packages for the enabled repository. The output should include one line for the EPEL repository.

                      Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
repo id             repo name                                         status
base/7/x86_64       CentOS-7 - Base                                   10,019
epel/x86_64         Extra Packages for Enterprise Linux 7 - x86_64    12,912
extras/7/x86_64     CentOS-7 - Extras                                    371
updates/7/x86_64    CentOS-7 - Updates                                 1,098
repolist: 24,400

That’s it. EPEL database Enabled on your computer CentOS system .

in conclusion

For more information EPEL database See Epel Document. If you have any questions, feel free to comment.

Related Posts