tldr/pages/linux/pkginfo.md

20 lines
317 B
Markdown
Raw Normal View History

# pkginfo
2016-01-21 12:44:43 +00:00
> Query the package database on a CRUX system.
2016-01-21 12:44:43 +00:00
- List installed packages and their versions:
`pkginfo -i`
2016-01-21 12:44:43 +00:00
- List files owned by a package:
`pkginfo -l {{package-name}}`
2016-01-21 12:44:43 +00:00
- List the owner(s) of files matching a pattern:
`pkginfo -o {{pattern}}`
2016-01-21 12:44:43 +00:00
- Print the footprint of a file:
`pkginfo -f {{file}}`