----- Original Message -----
> From: devloca...@gmail.com
> To: python-dev@python.org
> Sent: Wednesday, October 16, 2019 1:35:17 AM
> Subject: [Python-Dev] How do I install Python 3.8.0 on Linux (not possible? 
> no one is doing this?)
> 
> I cannot get Python 3.8.0 installed on Linux ( RHEL 8 / CentOS 8).
> 
> It's not available in any package repo.  When I try to build from source,
> there are dependencies missing (3), that I cannot find anywhere.
> 
> More info here: (I did not want to write this up twice)
> 
> https://www.reddit.com/r/Python/comments/digewe/python_38_not_possible_to_install_on_linux_why/
> 
> The latest version of Python 3 available to me on Linux was released over
> three years ago ( Python 3.6.0 ), I don't understand why.
> _______________________________________________
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-dev@python.org/message/ZP3RSTYWBCPBEYNUGH2THA5OVRLYO3RX/
> Code of Conduct: http://python.org/psf/codeofconduct/
> 

Hello,

I am sorry for your experience. I can understand it can be frustrating, however 
I find the overall condescending tone of the email and the reddit thread a 
little bit unnecessary.

So I'll try and shed some light here as one of the folks maintaining Python for 
RHEL and Fedora.

For RHEL8 and CentOS 8 most of the development headers were moved to a 
different repository. You will need to enable it first and then you can do dnf 
builddep:

On CentOS 8 it's the Powertools repo: yum config-manager --set-enabled 
PowerTools

On RHEL8 it's the coder ready builder repo: subscription-manager repos --enable 
"codeready-builder-for-rhel-8-*-rpms"

Now as numerous other have pointed out, RHEL is a stable slow moving 
distribution, subject to various procedures and rigorous testing. Every package 
change needs to go through a long chain which ensures that the package will 
work flawlessly with the rest of the distribution. Unfortunately we can't just 
dump a new interpreter in the system and expect things to work, this applies 
for many other distros as well since python is at the moment really intertwined 
with the linux ecosystem. You can read this comment from LWN which does a far 
better job explaining what is happening than I: https://lwn.net/Articles/796301/

Also I would advise against installing Python 3.8 systemwide, as this will most 
possibly break the operating system, since many packages depend on it and will 
be incompatible with the new release, dnf being only one example. However you 
can install it on whatever other location you would like in the system and 
develop on top of it (be sure to use the --prefix=<install dir> flag during 
configure).

A rolling distribution might be a better fit for you. However if you use Fedora 
we already package Python 3.8 as the python38 package. The system interpreter 
will be updated to 3.8 with Fedora 32.

Finally as mentioned by others, this would be a better fit for python-list, as 
this mailing list is mostly used to the development of cpython itself.

-- 
Regards,

Charalampos Stratakis
Software Engineer
Python Maintenance Team, Red Hat
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/PRICMR3LPGJGYAVFJCMOTKGZQDRZW2MH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to