The following should work with just about any version of Python. I am using it to compile, currently 3.10.x, on distros where those packages are not readily available for installation. The following is a quick how to on getting it compiled under both RedHat/CentOS/Almalinux and Debian based systems.
Download the Tarball for the Version You Want To Install
Download the tar.gz
archive for the version that you want to install from here. Verify the download and then save the → Continue reading “Compiling Python Under Linux”