How to Enable the EPEL repository on CentOS
The EPEL (Extra Packages for Enterprise Linux) vault gives extra programming bundles that are excluded from the standard Red Hat and CentOS archives. EPEL archive was made on the grounds that Fedora donors needed to utilize the bundles they keep up on Red Hat Enterprise Linux (RHEL) and its subordinates, for example, CentOS, Oracle Linux, and Scientific Linux.
Empowering this archive gives you admittance to famous programming bundles including Nginx , R , and Python Pip .
In this instructional exercise, we will tell you the best way to empower the EPEL archive on CentOS.
Prerequisites
Prior to beginning with the instructional exercise, ensure you are signed in as a client with sudo advantages .
Enabling the EPEL Repository on CentOS 7
Empowering the EPEL store on CentOS 7 is a pretty basic errand as the EPEL rpm bundle is remembered for the CentOS additional items storehouse.
To introduce the EPEL discharge bundle, type the accompanying order:
sudo yum install epel-release
To confirm that the EPEL storehouse is empowered run the yum repolist order that will list every accessible archive.
sudo yum repolist
The order will show the repo ID, name and the quantity of bundles for the empowered storehouses. The yield ought to incorporate a line for the EPEL archive.
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 is it. EPEL archive has been empowered on your CentOS framework.
Enabling the EPEL Repository on RHEL
This technique will chip away at any RHEL based dispersion including Red Hat, CentOS 6 and 7, Oracle Linux, Amazon Linux, and Scientific Linux.
To empower the EPEL vault, run the accompanying order which will download and introduce the EPEL discharge bundle:
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E '%{rhel}').noarch.rpm
rpm -E '%{rhel}'
will print the distribution version (6 or 7).
Conclusion
For more data about the EPEL store, see the EPEL documentation .
Don't hesitate to leave a remark in the event that you have any inquiries.