How to Install Python 3.10 from Source Code For Amazon Linux 2 or CentOS 7, Debian, etc. sh ./install-python.sh 3.10.5 Testing your installation. python3.10 test.py Display Python configuration information. python3.10 -m sysconfig