tldr/pages/linux/pkginfo.md

21 lines
380 B
Markdown
Raw Permalink Normal View History

# pkginfo
2016-01-21 12:44:43 +00:00
> Query the package database on a CRUX system.
> More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.
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}}`