From 1fc6e2788bef3be48d43b3e15c92626787c497d5 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 11 Sep 2017 11:43:58 +0100 Subject: [PATCH] Simplify installation instructions with multiple platforms --- doc/source/installation.rst | 41 ++++++++----------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 2210f637c..78a861757 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -12,43 +12,18 @@ Currently Kayobe supports the following Operating Systems on the control host: To avoid conflicts with python packages installed by the system package manager it is recommended to install Kayobe in a virtualenv. Ensure that the -``virtualenv`` python module is available on the control host. +``virtualenv`` python module is available on the control host. It is necessary +to install the GCC compiler chain in order to build the extensions of some of +kayobe's python dependencies. Finally, for cloning and working with the kayobe +source code repository, Git is required. -.. code-block:: console - :caption: CentOS +On CentOS:: - $ yum install -y python-virtualenv + $ yum install -y python-virtualenv gcc git -.. code-block:: console - :caption: Ubuntu +On Ubuntu:: - $ apt install -y python-virtualenv - -It is necessary to install the GCC compiler chain in order to build the -extensions of some of kayobe's python dependencies. - -.. code-block:: console - :caption: CentOS - - $ yum install -y gcc - -.. code-block:: console - :caption: Ubuntu - - $ apt install -y gcc - -Finally, for cloning and working with the kayobe source code repository, Git is -required. - -.. code-block:: console - :caption: CentOS - - $ yum install -y git - -.. code-block:: console - :caption: Ubuntu - - $ apt install -y git + $ apt install -y python-virtualenv gcc git Installation ============