Sure and how do you install Python 3.12 on RHEL 8 without compiling it from source?
Re:Python 3.12
by JodieBenitez on Monday October 02, 2023 @03:01PM
(#37742830)
I don't know, but what is the problem with compiling from source ? Some softwares are hard to compile but I found Python really easy to compile.
I agree that compiling Python from source is surprisingly straight forward, but is that a serious question?
Have you ever worked in a place that uses Python? When someone says to you "hey it's not working" are you really going to say with a straight face "oh yes, you just need to compile Python from source". Come on, this is one of those obviously stupid situations that for some reason people feel the need to defend. It's not defensible.
You don't need to compile Node or Rust or Go or Deno from source to install the latest version.
Just run the miniforge install script if you want a very friction-free install. I'm not a big conda fan, but the "install in my home directory" use case is very well covered by miniforge.
https://github.com/conda-forge/miniforge/
That looks like it will install Conda though?
Re:Python 3.12
by heavyset_go on Monday October 02, 2023 @05:22PM
(#37744584)
Use pyenv and let it manage Python versions for you.
pyenv builds Python from source.
Re:Python 3.12
by heavyset_go on Monday October 02, 2023 @05:49PM
(#37744928)
Yes, but it's automated behind a single command and fast.
(Of course, then you take on the responsibility of keeping up with patch releases yourself, which is why we use distros. But if it's just a small number of packages on top of a distro-managed base system, it's perhaps not so bad.)
[0] https://www.gnu.org/software/stow/