Hi,
I read that Python 3.12.3 is shipped with Ubuntu 24 on which Zorin 17.2 is based, however i can only find 3.10.12
How to safely install this version ?
Thank you
Chris
Zorin OS is based on Ubuntu 22.04 - Jammy Jellyfish.
Articles stating Ubuntu 24.04 are mistaken - misreading the fact that Zorin OS uses the same *Kernel that Ubuntu 24.04 uses.
I don't think you can. Python is installed as part of the system and is a dependency of many other packages already installed. Even if you were to compile it from source, that will likely cause other issues...
The best way to run Python at a higher version that what is installed would be to use Docker. This would only apply for scripts and some software, which may have their own complexities (with more information we may be able to give better advice).
Another option you may be interested in is using, but I'm not sure if this will allow you to install a higher version than what's available in the default repositories, or if it there would be any issues:
in fact it should run with the current version of python3 but it get an dlopen: /lib/x86_64-linux-gnu/libm.so.6: version
GLIBC_2.38' not found` , solving this should save me
Best,
Chris
Unfortunately, this means that the script won't run in the current version of Zorin OS. glibc
is one core library that cannot be updated, and it's currently at 2.35.
Can you share the source of the script? You might be able to hack your way out of this issue depending on how it's built. Otherwise, you'd have to use another distribution, either installed directly or as a virtual machine.