tldr/pages/linux/pkginfo.md

21 lines
383 B
Markdown
Raw 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}}`
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:
2022-12-04 09:12:49 +00:00
`pkginfo -f {{path/to/file}}`