Debian / Ubuntu: Install, enable and manage external APT repositories using extrepo
Learn how to add external repositories, enable trusted sources and securely manage third‑party APT repos using the Debian utility extrepo. Ideal for Debian Bullseye+ and works unofficially on Ubuntu.
And Extrepo for GNU/Linux is a Debian‑based command‑line tool that lets you manage external (third‑party) APT repositories securely and easily.
Some of the relevant Extrepo Features are:
- Search: `extrepo search keyword` — locate external repo definitions.
- Enable: `sudo extrepo enable repo_name` — add and activate a third‑party repository with proper keys. :contentReference[oaicite:0]{index=0}
- Disable: `sudo extrepo disable repo_name` — deactivate a repository cleanly. :contentReference[oaicite:1]{index=1}
- Update: `sudo extrepo update repo_name` — refresh the repo’s configuration and associated signing key. :contentReference[oaicite:2]{index=2}
- Key Management: securely imports GPG keys and sets `signed-by`, ensuring trust and integrity. :contentReference[oaicite:3]{index=3}
- Organized repo storage: definitions reside under `/etc/extrepo/config.yaml` and `/etc/extrepo.d/`, and are symlinked into `/etc/apt/sources.list.d/`. :contentReference[oaicite:4]{index=4}
- Large ecosystem support: provides metadata for dozens of common external repositories (e.g. postgresql, nginx, vscode, openvpn, syncthing, google_chrome, steam). :contentReference[oaicite:5]{index=5}
So this Repo Setup is valid for all the Debian-Based Platforms like:
- Kali
- Deepin
- MX Linux
- antiX
- Parrot
- Netrunner
- Voyager Debian
- SparkyLinux
- MakuluLinux
- Elive Linux
- LMDE
- CrunchBang
- Parsix
And again also for all the Ubuntu-Based Distros like:
- Linux Mint
- Lubuntu
- Kubuntu
- Xubuntu
- Zorin OS
- Elementary OS
- Linux Lite
- Bodhi Linux
- Kde Neon
- Pop_OS!
- Voyager Ubuntu
- Trisquel
- LXLE
- feren OS
- Peppermint
- Q4OS
- Linux Ultimate Edition

1. Launching Terminal
How to Quick Start with Command Line on Debian/Ubuntu GNU/Linux:
2. Adding Extrepo Repo
Then to Add Extrepo Apt Repository
Simply execute:sudo apt update && sudo apt install extrepo -y
3. Refreshing Apt Sources
Next to Refresh Apt Repo Sources
Play:sudo apt update
4. Extrepo Getting Started
Finally, to Extrepo Quick Start for Ubuntu/Debian-Based
Extrepo Ubuntu/Debian Get Started Guide