Команда apt: опции, ключи и примеры использования

apt

Package management utility for Debian based distributions.

  • Update list of packages and versions available. This should be run before running further apt commands:

sudo apt update

  • Search for packages:

apt search {{package}}

  • Show information for a package:

apt show {{package}}

  • Install a new package:

sudo apt install {{package}}

  • Remove a package (using "purge" instead also removes its configuration files):

sudo apt remove {{package}}

  • Upgrade installed packages to the newest available versions:

sudo apt upgrade

Также может быть вам интересно:
Фото alpine

alpine

Фото apt-cache

apt-cache

Интересное на «Цифре»