参考:
How to Install Python on CentOS 8 | Linuxize
命令:
yum install python2,python38 -y
切换到python2
alternatives --set python /usr/bin/python2
切换到python3.8
alternatives --set python /usr/bin/python3.8
2024-01-13 17:16:40
参考:
How to Install Python on CentOS 8 | Linuxize
命令:
yum install python2,python38 -y
切换到python2
alternatives --set python /usr/bin/python2
切换到python3.8
alternatives --set python /usr/bin/python3.8