From 9c6f189c190ac003aa6ccbac2b802a26fd25384b Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 16 Sep 2020 21:02:57 +0200 Subject: [PATCH] Installation: Clarify Python 3 on CentOS CentOS 7 has Python 3.6 in the official repositories since some time. This allows us to get an almost modern Python interpreter onto the system without fiddling with PATH environment varible like SCL does. --- docs/docs/agent/installation.mdx | 8 ++++++++ docs/docs/getting-started.mdx | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/docs/agent/installation.mdx b/docs/docs/agent/installation.mdx index b011979..24c496b 100644 --- a/docs/docs/agent/installation.mdx +++ b/docs/docs/agent/installation.mdx @@ -44,6 +44,14 @@ $ sudo apt install -y python3 python3-pip libssl-dev +You can install python from the CentOS 7 repository: + +```shell-session +$ sudo yum install python3-devel python3-pip +``` + +But you can also use the [SCL repository](https://www.softwarecollections.org/en/scls/rhscl/rh-python36/) + ```shell-session $ sudo yum install centos-release-scl $ sudo yum install rh-python36 diff --git a/docs/docs/getting-started.mdx b/docs/docs/getting-started.mdx index f3d49da..1dfe30a 100755 --- a/docs/docs/getting-started.mdx +++ b/docs/docs/getting-started.mdx @@ -53,9 +53,17 @@ $ sudo apt install -y python3.6-dev python3-pip redis-server +You can install python from the CentOS 7 repository: + ```shell-session -$ sudo yum install epel-release centos-release-scl scl-utils python3-devel rh-python36 -$ sudo scl enable rh-python36 +$ sudo yum install python3-devel python3-pip +``` + +But you can also use the [SCL repository](https://www.softwarecollections.org/en/scls/rhscl/rh-python36/) + +```shell-session +$ sudo yum install centos-release-scl +$ sudo yum install rh-python36 ```