Knowledge Base - Debian/Ubuntu Package Management Commands1
Use dpkg-query
to see if a package is installed
dpkg-query --show some_package
NULL
dpkg-query
to see if a package is installeddpkg-query --show some_package
NULL