From 4c293962170b675144e5f56f44aa98399902d989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> Date: Fri, 1 Dec 2017 11:19:08 +0100 Subject: [PATCH] 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 --- docs/docsite/rst/intro_installation.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/intro_installation.rst b/docs/docsite/rst/intro_installation.rst index f025748364b..47e9258e365 100644 --- a/docs/docsite/rst/intro_installation.rst +++ b/docs/docsite/rst/intro_installation.rst @@ -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