Differences
This shows you the differences between two versions of the page.
— |
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: | ||
+ | |||
+ | < | ||
+ | yum -y install epel-release | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== 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. | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | ==== CentOS and Red Hat Enterprise Linux 5.x ==== | ||
+ | |||
+ | < | ||
+ | wget https:// | ||
+ | rpm -Uvh epel-release-5*.rpm | ||
+ | </ | ||
+ | \\ | ||
+ | ==== CentOS and Red Hat Enterprise Linux 6.x ==== | ||
+ | |||
+ | < | ||
+ | wget https:// | ||
+ | rpm -Uvh epel-release-6*.rpm | ||
+ | </ | ||
+ | \\ | ||
+ | ==== CentOS and Red Hat Enterprise Linux 7.x ==== | ||
+ | |||
+ | < | ||
+ | wget https:// | ||
+ | rpm -Uvh epel-release-7*.rpm | ||
+ | </ | ||
+ | \\ | ||
+ | \\ |