This blog explains what the EPEL repository is and how to install it on CentOS.
What is the EPEL repository?
The EPEL (or Extra Packages for Enterprise Linux) Repository is a free and open-source repository which provides high-quality and easy-to-install add-on packages for commonly-used software.
Before we begin, here are a few terms to brush up on:
- Wget-or ‘web get’-a command-line utility to download content over a network
- Red Hat Enterprise Linux/Fedora/CentOS : are Linux distributions that group their software together in packages, referred to as RPM Package Manager (RPM).
- YUM-Yellowdog Updater, modified The primary tool for managing the Red Hat Enterprise Linux software packages through a command-line interface.
The repository may contain packages that are unavailable in the core repository or updates that haven’t been installed yet for Linux distributions like :
- CentOS
- Fedora (The runs the EPEL repository)
- RHEL (Red Hat Enterprise Linux)
- Scientific Linux
- Oracle Linux
How to install the EPEL repository on CentOS 7
CentOS 7 is the latest version of the Linux distribution and is the easiest to install the repository on. A large number of hosting packages by ResellerClub come with CentOS such as Single and Multi domain shared hosting, Reseller Hosting, Dedicated hosting and VPS. For a few that do not support CentOS, you can still install it on the distributor list mentioned above.
To install the EPEL repository, you must be the root user:-
You can enable the command with:
yum install epel-release
That’s it. If, however, this does not work for some reason, you can manually install this by :
1.Downloading the file using Wget
wget http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
2.Installing it on your system using RPM
rpm -Uvh epel-release-7*.rpm
How to verify that the EPEL repository is enabled:
# yum repolist
How to use the repository:
Use the YUM command to look for and install packages
For example, here’s how to Install the ClamAV antivirus engine.
ClamAV is an open source antivirus engine designed for detecting trojans, viruses, malware and other malicious threats.
Read our knowledgebase article on how to install ClamAV for cPanel and non-cPanel servers by installing the EPEL Repository.
Is there more that you would like to hear about on this topic? Let us know in the comment section below.
There is no ads to display, Please add some