Gestion des paquetsCLI Manual
$apt
Debian and Ubuntu command-line package management tool.
Syntaxe de la commandePOSIX Standard
apt [OPTIONS] COMMANDEssayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
bash — terminal
AST Sandbox (Free)
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 / 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. |
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.