PaketverwaltungCLI Manual
$apt
Debian and Ubuntu command-line package management tool.
BefehlssyntaxPOSIX Standard
apt [OPTIONS] COMMANDLive im interaktiven Terminal ausprobieren
Client-seitige Simulation ohne Installation mit sofortigem Feedback.
bash — terminal
AST Sandbox (Free)
Überblick & Funktionsweise
`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.
Wichtige Optionen und Flags
| 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. |
Praktische Anwendungsbeispiele
#1Install cowsay ASCII utility in sandbox
apt install cowsay && cowsay "Linux is awesome!"Installs the cowsay utility into the virtual filesystem and runs it.