Why can't the latest stable version (24.04) install python3.11?
Thanks in advance!
Best Answer
As of Ubuntu 24.04's release, Python 3.11 may not be available directly through the official Ubuntu repositories or through Deadsnakes PPA, for instance.
I'm using WSL2 on Windows 11 (23h2, home), and upgraded my Ubuntu from 22.04 to 24.04 through 23.10, but I want to point out that the upgrade was not successful for me because I got a problem - Ubuntu cause hang of my system.
CPU and memory utilization is fine, but any simple Windows apps take about 4-5 minutes to launch with long freezes\hangs. Also typing any command into the bash terminal (in upgraded Ubuntu 24.04) gave a response only after ~2 minutes.
I completely uninstalled Ubuntu and completely disabled WSL components, then turned WSL back on and installed Ubuntu 24.04 from the Microsoft Store, but this problem happened again and again.
Then I completely uninstalled Ubuntu 24.04, restarted WSL and installed Ubuntu 22.04 back, and there is no problem here.
I don't know what's wrong, I have a clean Win 11 (2 weeks after installation, all updates installed, etc.), and this is the reaction to Ubuntu 24.04... I think may be 24.04 is still raw for wsl...
I really wish I had backed up of my prev 22.04 stable system.
Best Answer
As of Ubuntu 24.04's release, Python 3.11 may not be available directly through the official Ubuntu repositories or through Deadsnakes PPA, for instance.
You could, in this case, build Python 3.11 from source.
However, as of my latest check, the Deadsnakes PPA has already updated its support for Ubuntu 24.04 (Noble). So you can just
https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa