tldr/pages/linux/dpkg-query.md

20 lines
346 B
Markdown
Raw Normal View History

2016-01-06 12:38:13 +00:00
# dpkg-query
> A tool that shows information about installed packages.
- List all installed packages.
`dpkg-query -l`
- List installed packages matching a pattern.
`dpkg-query -l '{{pattern}}'`
- List all files installed by a package.
`dpkg-query -L {{package_name}}`
- Show information about a package.
`dpkg-query -s {{package_name}}`