#安装release-scl
yum -y install centos-release-scl scl-utils-build
#安装
yum -y install rh-python38
#可选,安装python开发包,其他相关包可用使用:yum search python38查看
yum -y install rh-python38-python-devel
#开启
scl enable rh-python38 bash
#查看python版本
python -V
#安装release-scl
yum -y install centos-release-scl scl-utils-build
#安装
yum -y install rh-python38
#可选,安装python开发包,其他相关包可用使用:yum search python38查看
yum -y install rh-python38-python-devel
#开启
scl enable rh-python38 bash
#查看python版本
python -V