From the APT-known package list, display only packages currently installed.
A long description for individual packages is not needed.
Which command is appropriate?
apt list --installed filters the package list to installed packages. --upgradeable selects packages with available upgrades.
Detailed explanation
apt show --installedIncorrect. show is for details of specified package names, not this list filter.
Incorrect. show displays one package's metadata.
apt search --installedIncorrect. search expects a search term and is for candidate discovery.
Incorrect. search finds names and descriptions rather than installed state.
apt list --installedCorrect. apt list --installed lists installed packages.
Correct. --installed limits apt list to installed packages.
apt update --installedIncorrect. apt update retrieves indexes and does not display the installed list.
Incorrect. update retrieves repository indexes.
Try it yourself
An example you can run in a temporary verification environment.
apt list --installed 2>/dev/null | sed -n '1,5p'Expected result
パッケージ名/スイート、版、アーキテクチャ、installed表示Key points
- list displays a list
- --installed filters installed items
- --upgradeable is different
Notes
- Environment: APT 2.x / ローカル状態のみ
- Use a disposable environment or simulation before package changes.
- APT behavior can vary with repository configuration and package-manager version.
Foundation review
Place the operation
The installed filter selects local package state; search and update have different data and purposes.
Check the side effect
Compare the filtered list with dpkg's installed-package records.