# dpkg-query > A tool that shows information about installed packages. > More information: . - List all installed packages: `dpkg-query --list` - List installed packages matching a pattern: `dpkg-query --list '{{libc6*}}'` - List all files installed by a package: `dpkg-query --listfiles {{libc6}}` - Show information about a package: `dpkg-query --status {{libc6}}` - Search for packages that own files matching a pattern: `dpkg-query --search {{/etc/ld.so.conf.d}}`