Python3.11 install on Ubuntu 24.04

24.04python3

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.

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

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.11

https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

Related Question