๐Ÿ“€

APT

APT (Advanced Package Tool) is the package manager for Debian and Debian-derived Linux distributions like Ubuntu, built and maintained by the Debian Project and free/open-source. It ties for #14 among dev tools in usage surveys at roughly 18.4% share. It's the everyday tool for installing, updating, and removing system software on a Debian-family server or desktop, resolving dependencies automatically from configured package repositories.

Quick facts
Type: Linux system package manager
Made by: The Debian Project
License: Free / open-source (GPL)
Platforms/Hosting: Debian, Ubuntu, and other Debian-based Linux distributions
Primary use case: Installing and updating system software and libraries on a Debian/Ubuntu machine or server
Jump to: ExampleGetting startedBest for

Example

Refresh the package index, then install a piece of software โ€” APT resolves and pulls in any dependencies automatically.

# refresh the list of available packages, then install nginx
sudo apt update && sudo apt install nginx

# upgrade every installed package to its latest version
sudo apt upgrade

# remove a package (keep config files)
sudo apt remove nginx

# search the package index
apt search postgresql

Getting started

APT comes preinstalled on every Debian and Ubuntu system โ€” no separate setup is required, just start using it from a terminal.

# check APT is available (true on any Debian/Ubuntu box)
apt --version

# typical first commands on a fresh server
sudo apt update
sudo apt install build-essential git curl
Best for: Anyone administering a Debian- or Ubuntu-based server or desktop โ€” it's the default, most battle-tested way to keep that system's software installed, patched, and consistent.