Hacker News new | ask | show | jobs
by IshKebab 992 days ago
Sure and how do you install Python 3.12 on RHEL 8 without compiling it from source?
4 comments

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?
Are you really going to support rhel8 as a platform for your project which uses specific python 3.12 rc3 features? Well there's always podman, I guess.
Use pyenv and let it manage Python versions for you.
pyenv builds Python from source.
Yes, but it's automated behind a single command and fast.