Online Linux Terminal Logo
OnlineLinuxTerminal
Gestion des paquetsCLI Manual

$apt

Debian and Ubuntu command-line package management tool.

Syntaxe de la commandePOSIX Standard
apt [OPTIONS] COMMAND
Communauté Linux2.4k En ligne

Échangez avec des utilisateurs Linux, apprenez des commandes et téléchargez des PDF.

Essayer en direct dans le bac à sable interactif

Simulation côté client sans installation avec retour instantané.

Ouvrir dans le terminal plein écran ↗
bash — terminal

Aperçu et fonctionnement

`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.

Options et drapeaux courants

Flag / OptionDescription
updateDownload updated package lists and version metadata from repositories.
upgradeUpgrade 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.

Exemples pratiques du monde réel

#1Install cowsay ASCII utility in sandbox
apt install cowsay && cowsay "Linux is awesome!"

Installs the cowsay utility into the virtual filesystem and runs it.