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
|
|
|
|
2023-08-26 23:00:06 +05:30
|
|
|
`pkginfo -l {{package}}`
|
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
|
|
|
|
2022-12-04 10:12:49 +01:00
|
|
|
`pkginfo -f {{path/to/file}}`
|