How to install Python 3.10.5 with upgrade openssl 1.1.1

Check openssl location

#openssl version -d

or

#openssl version -a

Python 3.10.5

yum update
yum install openssl-devel bzip2-devel libffi-devel
yum groupinstall "Development Tools"
wget https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz
tar -xzf Python-3.10.2.tgz

cd Python-3.10.2

./configure --with-openssl="/usr/loca/ssl" --enable-optimizations
make altinstall

 

python3.10 -c "import sys, ssl; print(\"{:s}\n{:s}\".format(sys.version, ssl.OPENSSL_VERSION))"

 

Comments

Popular posts from this blog