HxHippy

apt

Package handling utility (Debian/Ubuntu)

Overview

Advanced Package Tool, or APT, is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu and other Linux distributions.

Syntax

apt [OPTIONS] COMMAND

Common Options

update

Resynchronize the package index files from their sources.

upgrade

Install the newest versions of all packages currently installed on the system.

install <package>

Install a new package.

remove <package>

Remove a package.

Examples

$ sudo apt update

Refresh available package information.

$ sudo apt install nginx

Install the Nginx web server.

packageinstallupdateremovesoftwareaptdebianubuntu