Merge pull request #7589 from widhalmt/doc/epel8

Clarify the installation of EPEL repository on CentOS vs RHEL
This commit is contained in:
Michael Friedrich 2019-10-24 15:18:55 +02:00 committed by GitHub
commit 50dd83915c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,13 +147,21 @@ CentOS 7/6:
yum install epel-release
```
If you are using RHEL you need to enable the `optional` repository and then install
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).
RHEL 7:
```
subscription-manager repos --enable rhel-7-server-optional-rpms
# or
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
```
RHEL 6:
```
subscription-manager repos --enable rhel-6-server-optional-rpms
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
```
#### SLES/OpenSUSE Repositories <a id="package-repositories-sles-opensuse"></a>