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