Why There Is No Python Compressed Archive or Binaries ?

Barry Scott barry at barrys-emacs.org
Mon Jan 17 15:59:14 EST 2022



> On 17 Jan 2022, at 19:53, Sina Mobasheri <sinamobasheri at outlook.com> wrote:
> 
> Consider scenario that I want run python 3.10 in CentOS 8, I think last python version in CentOS repository is 3.6, if I use epel I can get 3.8 so ..., I think (correct me if I'm wrong 🙏🏻) the only way that I can run python 3.10 is to compile it manually, which is need to know what dependencies python needs for compilation ... (different distribution different packages, which packages for what, you can see that it is intimidating for beginners like me)
> It's useful to just use wget <python.org/ftp/python/3.10.1/compressed. tar.xz>, unzipped, ser path and ta-da you have cpython 3.10 in CentOS 8

Are there features in python 3.10 that are missing from 3.6 that you need?
If not then the easy thing to do is use 3.6.

You could build a docker containers you based on fedora 35 that has the python 3.10
and the python libs that you need installed and use that.

You would use podman and its tools to build and run the container on Centos 8.

For my work I'm planning to use 3.6 on Centos 8 as that is one thing I can avoid packaging
and maintaining myself.

Barry



More information about the Python-list mailing list