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