Packages and backups
The add-apt-repository command
Adds a repository (PPA) to the APT sources so you can install from it.
Syntax
sudo add-apt-repository [--remove] ppa:usuario/repoMost useful options
--removeRemove the repositoryCopy-ready examples
$ sudo add-apt-repository ppa:pruebas/ppaAdd a PPAYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- It only adds the source; you must refresh with apt update.
FAQ
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course