summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbk87 <44500720+mbk87@users.noreply.github.com>2018-12-05 15:14:48 +0100
committerSandra McCann <samccann@redhat.com>2018-12-05 09:14:48 -0500
commit95d810ab943cf6e0ee54a0003a9357a0b237acd6 (patch)
treeb7bfd1e361856f2485d372117ae312f9a320f7d7
parent29e071d67afdb35802e88178e1ac8927a798185c (diff)
downloadansible-95d810ab943cf6e0ee54a0003a9357a0b237acd6.tar.gz
apt over apt-get (#47663)
* apt over apt-get * added note on apt-get for older versions
-rw-r--r--docs/docsite/rst/installation_guide/intro_installation.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/docsite/rst/installation_guide/intro_installation.rst b/docs/docsite/rst/installation_guide/intro_installation.rst
index e2bcd4cc51..1968882a78 100644
--- a/docs/docsite/rst/installation_guide/intro_installation.rst
+++ b/docs/docsite/rst/installation_guide/intro_installation.rst
@@ -145,12 +145,12 @@ To configure the PPA on your machine and install ansible run these commands:
.. code-block:: bash
- $ sudo apt-get update
- $ sudo apt-get install software-properties-common
+ $ sudo apt update
+ $ sudo apt install software-properties-common
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
- $ sudo apt-get install ansible
+ $ sudo apt install ansible
-.. note:: On older Ubuntu distributions, "software-properties-common" is called "python-software-properties".
+.. note:: On older Ubuntu distributions, "software-properties-common" is called "python-software-properties". You may want to use ``apt-get`` instead of ``apt`` in older versions.
Debian/Ubuntu packages can also be built from the source checkout, run:
@@ -176,10 +176,10 @@ Then run these commands:
.. code-block:: bash
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
- $ sudo apt-get update
- $ sudo apt-get install ansible
+ $ sudo apt update
+ $ sudo apt install ansible
-.. note:: This method has been verified with the Trusty sources in Debian Jessie and Stretch but may not be supported in earlier versions.
+.. note:: This method has been verified with the Trusty sources in Debian Jessie and Stretch but may not be supported in earlier versions. You may want to use ``apt-get`` instead of ``apt`` in older versions.
Latest Releases via Portage (Gentoo)
++++++++++++++++++++++++++++++++++++