On Debian/Ubuntu, dpkg
can show me packages, include the version and what's installed (e.g. dpkg -l postgresql\*
). But that shows all packages that it knows about, whether installed or not.
Is it possible to make dpkg
only show me the installed packages?
I've tried on dpkg v1.21.8 on Debian testing/bookworm, and v1.19.0.5 on Ubuntu 18.04 bionic