Управление пакетамиCLI Manual
$apt
Debian and Ubuntu command-line package management tool.
Синтаксис командыPOSIX Standard
apt [OPTIONS] COMMANDПопробуйте в интерактивной песочнице
Клиентская симуляция без установки с мгновенным результатом.
bash — terminal
AST Sandbox (Free)
Обзор и принцип работы
`apt` (Advanced Package Tool) is the high-level package manager for Debian, Ubuntu, and derivative Linux distributions. It handles searching, installing, upgrading, and removing software packages and resolving dependencies automatically.
Основные флаги и параметры команды
| Flag / Option | Description |
|---|---|
| update | Download updated package lists and version metadata from repositories. |
| upgrade | Upgrade all installed packages to their newest available versions. |
| install [pkg] | Download and install specified software package. |
| remove [pkg] | Uninstall specified package while keeping configuration files. |
Практические примеры использования
#1Install cowsay ASCII utility in sandbox
apt install cowsay && cowsay "Linux is awesome!"Installs the cowsay utility into the virtual filesystem and runs it.