dpkg-query
Display information about installed packages. tldr-pages
On Linux
Linux
List all installed packages
dpkg-query --listIdentifyList installed packages matching a pattern
dpkg-query --list 'libc6*'IdentifyList all files installed by a package
dpkg-query --listfiles libc6IdentifyShow information about a package
dpkg-query --status libc6IdentifySearch for packages that own files matching a pattern
dpkg-query --search /etc/ld.so.conf.dIdentify