10

使用Software Collections (SCL) 在CentOS 7 上安装 Python 3

 3 years ago
source link: https://tianchunfeng.blog.csdn.net/article/details/85107352
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

使用Software Collections (SCL) 在CentOS 7 上安装 Python 3

田春峰 2018-12-19 20:26:29 657

使用Software Collections (SCL) 在CentOS 7 上安装 Python 3





sudo yum install centos-release-scl


sudo yum install rh-python36


设置 python 命令默认的版本为: python 3.6



scl enable rh-python36 bash

 查看最新Python 版本:



python --version






最近遇到个被阉割的很严重的centos 系统,使用python源码安装,在make的时候就报错,始终编译不通过,折腾好久,终决定换个比较优雅的姿势安装使用SCL安装python3.6

软件选集(Software Collections),又名 SCL。是由 CentOS SIG 维护的非严格意义上的CentOS软件库。 它的宗旨是:在企业级 Linux 发行版使用期间,为比较老旧的软件,提供...


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK