talira

The main command-line package manager for Debian and its derivatives

open sourceGPL-2.0-or-laterself-hostablefree

APT (Advanced Package Tool) is the package manager of Debian and the distributions built on it, such as Ubuntu. apt and apt-get install, upgrade and remove .deb packages with their dependencies from authenticated repositories listed in sources.list; apt-cache queries what's installed and available, and apt-ftparchive builds the index files to publish your own repository. The libapt-pkg library underneath is what other package managers and frontends (aptitude, Synaptic) build on, with Python and Perl bindings. Debian's packages can be browsed at packages.debian.org and Ubuntu's at packages.ubuntu.com. GPL-2.0-or-later, maintained by the APT team at Debian.

Ways to install

Package managers

What it installs

Popular software you can install with APT. APT's own catalog2 has everything it installs, and changes more often than this list.

View 177 more

Problems it solves

  • install nginx, Postgres or Python on my Debian or Ubuntu server with its dependencies sorted out
  • upgrade every package on my Ubuntu box in one go, security fixes included
  • add a vendor's repository so their software updates along with the rest of my system
  • pin a package to a version or prefer packages from one repository over another
  • find which package provides a command or file I'm missing on a Linux server
  • host my own repository of .deb packages for our servers
  • install software from a USB stick or DVD on a machine with no internet
  • remove a program and the dependencies nothing else needs any more

Features

  • apt, a high-level command-line interface for interactive use
  • apt-get to retrieve, install, upgrade and remove packages with their dependencies from authenticated sources
  • apt-cache to query installed and available packages
  • apt-cdrom to use removable media as a package source
  • apt-ftparchive to create the index files for publishing a .deb archive
  • package pinning and priorities, automatic-install tracking and APT patterns
  • libapt-pkg and libapt-inst libraries for higher-level package managers, with Python and Perl bindings

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what APT does.

  1. Nix Purely functional package manager for reproducible, declarative builds
  2. Homebrew The Package Manager for Everywhere
  3. Snap The app store for Linux

Compare APT with the top 3