New Python Versions

PPA description

This PPA contains more recent Python versions packaged for Ubuntu.

Disclaimer: there's no guarantee of timely updates in case of security problems or other issues. If you want to use them in a security-or-otherwise-critical environment (say, on a production server), you do so at your own risk.

Update Note
Please use this repository instead of ppa:fkrull/deadsnakes.

Reporting Issues

Issues can be reported in the master issue tracker at:

Supported Ubuntu and Python Versions

- Ubuntu 18.04 (bionic) Python2.3 - Python 2.6, Python 3.1 - Python 3.5, Python3.7 - Python3.10
- Ubuntu 20.04 (focal) Python3.5 - Python3.7, Python3.9 - Python3.10
- Note: Python2.7 (all), Python 3.6 (bionic), Python 3.8 (focal) are not provided by deadsnakes as upstream ubuntu provides those packages.
- Note: for focal, older python versions require libssl1.0.x so they are not currently built

The packages may also work on other versions of Ubuntu or Debian, but that is not tested or supported.


The packages provided here are loosely based on the debian upstream packages with some modifications to make them more usable as non-default pythons and on ubuntu. As such, the packages follow debian's patterns and often do not include a full python distribution with just `apt install python#.#`. Here is a list of packages that may be useful along with the default install:

- `python#.#-dev`: includes development headers for building C extensions
- `python#.#-venv`: provides the standard library `venv` module
- `python#.#-distutils`: provides the standard library `distutils` module
- `python#.#-lib2to3`: provides the `2to3-#.#` utility as well as the standard library `lib2to3` module
- `python#.#-gdbm`: provides the standard library `dbm.gnu` module
- `python#.#-tk`: provides the standard library `tkinter` module

Third-Party Python Modules

Python modules in the official Ubuntu repositories are packaged to work with the Python interpreters from the official repositories. Accordingly, they generally won't work with the Python interpreters from this PPA. As an exception, pure-Python modules for Python 3 will work, but any compiled extension modules won't.

To install 3rd-party Python modules, you should use the common Python packaging tools. For an introduction into the Python packaging ecosystem and its tools, refer to the Python Packaging User Guide:

The package sources are available at:

Nightly Builds

For nightly builds, see ppa:deadsnakes/nightly

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:deadsnakes/ppa to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

Display sources.list entries for:
Signing key:
4096R/F23C5A6CF475977595C89F51BA6932366A755776 (What is this?)

For questions and bugs with software in this PPA please contact deadsnakes.

PPA statistics

2 updates added during the past month.
View package details

Overview of published packages

141 of 41 results
Package Version Uploaded by
python2.3 2.3.7-2+xenial1 Felix Krull ()
python2.3 2.3.7-2+trusty1 Felix Krull ()
python2.3 2.3.7-2+bionic3 Felix Krull ()
python2.4 2.4.6-8+xenial1 Felix Krull ()
python2.4 2.4.6-8+trusty1 Felix Krull ()
python2.4 2.4.6-8+bionic3 Felix Krull ()
python2.5 2.5.6-9+xenial1 Felix Krull ()
python2.5 2.5.6-9+trusty1 Felix Krull ()
python2.5 2.5.6-9+bionic3 Felix Krull ()
python2.6 2.6.9-3.2+xenial1 Felix Krull ()
python2.6 2.6.9-3.2+trusty1 Felix Krull ()
python2.6 2.6.9-3.2+bionic2 Felix Krull ()
python3.1 3.1.5-7+xenial1 Felix Krull ()
python3.1 3.1.5-7+trusty1 Felix Krull ()
python3.1 3.1.5-7+bionic2 Felix Krull ()
python3.10 3.10.0-1+focal1 Anthony Sottile ()
python3.10 3.10.0-1+bionic1 Anthony Sottile ()
python3.10 3.10.0~a6-1+xenial1 Anthony Sottile ()
python3.2 3.2.6-2+xenial1 Felix Krull ()
python3.2 3.2.6-2+trusty1 Felix Krull ()
python3.2 3.2.6-2+bionic2 Felix Krull ()
python3.3 3.3.7-1+xenial2 Anthony Sottile ()
python3.3 3.3.7-1+trusty1 Anthony Sottile ()
python3.3 3.3.7-1+bionic3 Anthony Sottile ()
python3.4 3.4.10-1+xenial2 Anthony Sottile ()
python3.4 3.4.10-1+bionic2 Anthony Sottile ()
python3.5 3.5.10-1+focal2 Anthony Sottile ()
python3.5 3.5.10-1+bionic2 Anthony Sottile ()
python3.5 3.5.7-1+trusty1 Anthony Sottile ()
python3.6 3.6.15-1+focal1 Anthony Sottile ()
python3.6 3.6.13-1+xenial2 Anthony Sottile ()
python3.6 3.6.8-1+trusty1 Anthony Sottile ()
python3.7 3.7.12-1+focal1 Anthony Sottile ()
python3.7 3.7.12-1+bionic1 Anthony Sottile ()
python3.7 3.7.10-1+xenial2 Anthony Sottile ()
python3.7 3.7.0-1+trusty1 Anthony Sottile ()
python3.8 3.8.12-1+bionic1 Anthony Sottile ()
python3.8 3.8.9-1+xenial1 Anthony Sottile ()
python3.9 3.9.7-1+focal1 Anthony Sottile ()
python3.9 3.9.7-1+bionic1 Anthony Sottile ()
python3.9 3.9.4-1+xenial1 Anthony Sottile ()
141 of 41 results

Latest updates

  • python3.10 12 days ago
    Failed to build: armhf
  • python3.10 12 days ago
    Successfully built
  • python3.6 5 weeks ago
    Successfully built
  • python3.7 5 weeks ago
    Successfully built
  • python3.8 5 weeks ago
    Successfully built