PPA Management

May 2, 2026 · View on GitHub

aptui lets you manage PPA (Personal Package Archive) repositories directly from the TUI. You can list, add, remove, enable and disable PPAs without leaving the interface.

PPA management view


Opening the PPA view

Press Shift+P (uppercase P) on the main package screen. The PPA list will be displayed showing all PPA repositories found in /etc/apt/sources.list.d/ (or $PREFIX/etc/apt/sources.list.d/ on Termux).

Controls

KeyAction
Shift+POpen the PPA list
aAdd a new PPA
rRemove the selected PPA
eEnable / disable the selected PPA
/ kMove selection up
/ jMove selection down
pgup / ctrl+uPage up
pgdown / ctrl+dPage down
escGo back to the package list

PPA list columns

Each PPA entry shows:

ColumnDescription
Status✔ enabled or ✘ disabled
NamePPA identifier (e.g. ppa:deadsnakes/ppa)
URLRepository URL (e.g. https://ppa.launchpad.net/...)

Adding a PPA

  1. Press a to open the input bar.
  2. Type the PPA in the format ppa:user/repository (e.g. ppa:mozillateam/ppa).
  3. Press Enter to confirm, or Esc to cancel.

The PPA will be added via add-apt-repository, and the package list will be refreshed automatically.


Removing a PPA

  1. Navigate to the PPA you want to remove.
  2. Press r.

The PPA will be removed via add-apt-repository --remove, and the package list will be refreshed automatically.


Enabling / Disabling a PPA

  1. Navigate to the PPA you want to toggle.
  2. Press e.
  • If the PPA is enabled, it will be disabled (packages from that PPA will no longer be available).
  • If the PPA is disabled, it will be enabled (packages from that PPA will become available again).

After toggling, aptui runs a silent apt update in the background and refreshes the package list so the changes are reflected immediately.

How it works

  • .list files: the deb line is commented out (# deb ...) to disable, or uncommented to enable.
  • .sources files (DEB822 format): the Enabled: yes/no field is set accordingly.

Supported formats

aptui detects PPAs from two source file formats:

FormatFile extensionExample path
One-line.list/etc/apt/sources.list.d/deadsnakes-ppa.list
DEB822.sources/etc/apt/sources.list.d/deadsnakes-ppa.sources

Both ppa.launchpad.net and ppa.launchpadcontent.net URLs are recognized.