What is a PPA on Ubuntu?
The commands on this page have not been executed by our verification runner yet.updated 2026-10-20
- tool
- apt
- versions
- Ubuntu
- os
- linux
A PPA (Personal Package Archive) is an apt repository on Launchpad, Canonical's development platform, where an individual or a team builds and publishes packages for specific Ubuntu releases. PPAs are used to get newer versions than the release ships, for example a newer compiler or runtime.
Using one
sudo add-apt-repository ppa:deadsnakes/ppa # adds the source and its signing key
sudo apt update
sudo apt install python3.13
sudo add-apt-repository --remove ppa:deadsnakes/ppaadd-apt-repository writes a source file under /etc/apt/sources.list.d/ and downloads the PPA's signing key, so apt checks its packages.
Things to know
| Point | Detail |
|---|---|
| Trust | a PPA owner can ship any package, including replacements for system packages; add only PPAs you trust |
| Releases | packages are built per Ubuntu release; an old PPA may have nothing for a new release |
| Upgrades | release upgrades disable third-party sources; re-enable them afterwards |
| Debian | PPAs target Ubuntu; on Debian, prefer the official repositories or the vendor's own apt repository |
| Rollback | ppa-purge downgrades packages back to the official versions |
Sources
Related pages
config · aptapt sources in deb822 format: .sources files and Signed-ByDebian 12+ and Ubuntu 24.04 describe apt repositories in .sources files (deb822 format). The Types, URIs, Suites, Components and Signed-By fields explained.errors · aptapt: E: Unable to locate packageapt install fails with E: Unable to locate package when package lists are outdated, the name is wrong, or the package is in a repository that is not enabled.compare · aptapt vs apt-get: which one to useapt is the friendlier front end for interactive use, with progress bars, apt list and search; apt-get keeps a stable interface, so scripts should use it.