centos使用yum在线安装python3
- 系统:CentOS7
安装步骤:
- 安装epel
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- 安装 epel-release 工具
yum install epel-release
- 找到库里面支持的 python3 版本
yum list | grep python3 | more
- 安装python3
yum install python36
- 测试安装是否成功
python3