yum -y groupinstall "Development Tools"
yum -y install gcc openssl-devel bzip2-devel libffi-devel
wget https://www.python.org/ftp/python/x.x.x/Python-x.x.x.tgz
tar -zxvf xxxx.tgz
cd python.x.x.x
./configure --enable-optimizations --with-ensurepip=install
make -j
make altinstall
Created
December 22, 2023 03:32
-
-
Save yangyang5214/38c22670bf16597eaac8367bac538aa9 to your computer and use it in GitHub Desktop.
centos install python
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment