commands

apt — interactive package management

APT provides an interactive interface to package queries and dependency transactions. update refreshes indexes; install, upgrade and remove change packages. CLI output is not stable for scripts. Use only query examples; real changes need an authorized VM. Use the specified distribution and fresh private workspace; no sudo.

Formal Syntax & Structure

linux syntaxlinux
apt list --installed [PATTERN]

Parameters & Attributes

NameTypeDescription
--installedoptionfilter to installed packages
PATTERNoperandpackage name or pattern

Return Value

exit status and output

APT provides an interactive interface to package queries and dependency transactions. update refreshes indexes; install, upgrade and remove change packages. CLI output is not stable for scripts. Use only query examples; real changes need an authorized VM.

Working Example

Example Snippetlinux
apt list --installed bash
Linux Reference