How to install Python 3.10 on CentOS 7

First, install the dependency

Install OpenSSL as the openssl-devel package provided by CentOS is old version. Install OpenSSL from source with

Run following commands

Download the latest version of Python from

To install, run

Python 10 will be installed in folder

To install pip modules, you can use

Back to Python

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *