System Grab Bag

View all TLDR pages from Linux (or from all pages)

dpkg-query

A tool that shows information about installed packages. More information: https://manpages.debian.org/latest/dpkg/dpkg-query.1.html.
  • 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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.