Categories
Uncategorized

Install Python 3.10 from source on Centos 7

yum groupinstall "Development Tools" -y
yum install gcc open-ssl-devel bzip2-devel libffi-devel -y
mkdir downloads
cd downloads
wget https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tgz
tar -xzf Python-3.10.4.tgz 
cd Python-3.10.4
./configure --prefix=/usr/local --enable-optimizations
make altinstall