2016-01-06 19:32:05 -05:00
|
|
|
# pkginfo
|
|
|
|
|
2016-01-21 13:44:43 +01:00
|
|
|
> Query the package database on a CRUX system.
|
2021-11-01 10:39:43 +05:30
|
|
|
> More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.
|
2016-01-06 19:32:05 -05:00
|
|
|
|
2016-01-21 13:44:43 +01:00
|
|
|
- List installed packages and their versions:
|
2016-01-06 19:32:05 -05:00
|
|
|
|
|
|
|
`pkginfo -i`
|
|
|
|
|
2016-01-21 13:44:43 +01:00
|
|
|
- List files owned by a package:
|
2016-01-06 19:32:05 -05:00
|
|
|
|
2016-07-23 01:54:06 +05:30
|
|
|
`pkginfo -l {{package_name}}`
|
2016-01-06 19:32:05 -05:00
|
|
|
|
2016-01-21 13:44:43 +01:00
|
|
|
- List the owner(s) of files matching a pattern:
|
2016-01-06 19:32:05 -05:00
|
|
|
|
|
|
|
`pkginfo -o {{pattern}}`
|
|
|
|
|
2016-01-21 13:44:43 +01:00
|
|
|
- Print the footprint of a file:
|
2016-01-06 19:32:05 -05:00
|
|
|
|
|
|
|
`pkginfo -f {{file}}`
|