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.
|
2021-11-01 05:09:43 +00:00
|
|
|
> More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.
|
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
|
|
|
|
2016-07-22 21:24:06 +01:00
|
|
|
`pkginfo -l {{package_name}}`
|
2016-01-07 00:32:05 +00:00
|
|
|
|
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}}`
|