Merge pull request #78 from bastelfreak/docs

Installation: Clarify Python 3 on CentOS
This commit is contained in:
Matt Love 2020-10-10 21:24:24 -07:00 committed by GitHub
commit b2db509141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View file

@ -44,6 +44,14 @@ $ sudo apt install -y python3 python3-pip libssl-dev
<TabItem value="rhel">
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

View file

@ -53,9 +53,17 @@ $ sudo apt install -y python3.6-dev python3-pip redis-server
<TabItem value="rhel">
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
```
</TabItem>