Clarify the installation of EPEL repository on CentOS vs RHEL

This commit is contained in:
Thomas Widhalm 2019-10-24 12:18:26 +02:00
parent b587091b30
commit 2db85deec8
1 changed files with 13 additions and 1 deletions

View File

@ -147,7 +147,19 @@ CentOS 7/6:
yum install epel-release yum install epel-release
``` ```
If you are using RHEL you need to enable the `optional` repository and then install RHEL 7:
```
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
```
RHEL 6:
```
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
```
If you are using RHEL 6 or 7 you need to additionally enable the `optional` repository before installing
the [EPEL rpm package](https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F). the [EPEL rpm package](https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F).
``` ```