mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
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.
This commit is contained in:
@ -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
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user