Differences

This shows you the differences between two versions of the page.

Link to this comparison view

guides:how-to-enable-epel-with-rpm [2016-02-25 19:22:42] (current)
rory.blanchard created
Line 1: Line 1:
 +====== How to Enable The Epel Respository with RPM ======
  
 +The Epel respository offers CentOS and RHEL the ability to you the Fedora Extra Packages for Enterprise Linux, which includes many useful packages such as HAProxy and others.
 +
 +===== Install with yum =====
 +Run the following as root or with sudo:
 +
 +<code>
 +yum -y install epel-release
 +</code>
 +\\
 +\\
 +===== Install with RPM =====
 +
 +Sometimes you may not be able to install with yum, in that case you can install with RPM instead.
 +
 +<note warning>
 +Make sure to use the version that matches your version of CentOS or RHEL. Commands should be run as root, or with sudo.
 +</note>
 +\\
 +\\
 +==== CentOS and Red Hat Enterprise Linux 5.x ====
 +
 +<code>
 +wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
 +rpm -Uvh epel-release-5*.rpm
 +</code>
 +\\
 +==== CentOS and Red Hat Enterprise Linux 6.x ====
 +
 +<code>
 +wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
 +rpm -Uvh epel-release-6*.rpm
 +</code>
 +\\
 +==== CentOS and Red Hat Enterprise Linux 7.x ====
 +
 +<code>
 +wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
 +rpm -Uvh epel-release-7*.rpm
 +</code>
 +\\
 +\\