Add dnf and yum commands in "Installation" section (#33369)

* Add dnf and yum commands in "Installation" section

Even though the command is very simple, it's good to be able to c&p it.
There were already commands for apt, emerge, pip, even direct installation
from git, so adding Fedora/RHEL/CentOS examples is reasonable.

Since yum is not installed by default on any supported Fedora releases
(F26 and F28 currently), recommend dnf.

* Tiny edit
pull/33454/head
Zbigniew Jędrzejewski-Szmek 7 years ago committed by scottb
parent dd6532b29a
commit 4c29396217

@ -101,8 +101,20 @@ Installing the Control Machine
``````````````````````````````
.. _from_yum:
Latest Release Via Yum
++++++++++++++++++++++
Latest Release via DNF or Yum
+++++++++++++++++++++++++++++
On Fedora:
.. code-block:: bash
$ sudo dnf install ansible
On RHEL and CentOS:
.. code-block:: bash
$ sudo yum install ansible
.. note:: We've changed how the Ansible community packages are distributed.
For users of RHEL/CentOS/Scientific Linux version 7, the Ansible community RPM

Loading…
Cancel
Save