mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Fix the order of commands for adding EPEL to RHEL
This commit is contained in:
parent
2db85deec8
commit
9bb510e408
@ -147,25 +147,21 @@ CentOS 7/6:
|
|||||||
yum install epel-release
|
yum install epel-release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
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:
|
RHEL 7:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
subscription-manager repos --enable rhel-7-server-optional-rpms
|
||||||
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||||
```
|
```
|
||||||
|
|
||||||
RHEL 6:
|
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).
|
|
||||||
|
|
||||||
```
|
|
||||||
subscription-manager repos --enable rhel-7-server-optional-rpms
|
|
||||||
# or
|
|
||||||
subscription-manager repos --enable rhel-6-server-optional-rpms
|
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>
|
#### SLES/OpenSUSE Repositories <a id="package-repositories-sles-opensuse"></a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user