2025-03-14 21:59:59 -06:00
|
|
|
# pkginfo
|
|
|
|
|
|
|
|
|
|
> Query the package database on a CRUX system.
|
|
|
|
|
> More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.
|
|
|
|
|
|
|
|
|
|
- List installed packages and their versions:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pkginfo {{[-i|--installed]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List files owned by a package:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pkginfo {{[-l|--list]}} {{package}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List the owner(s) of files matching a pattern:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`pkginfo {{[-o|--owner]}} {{pattern}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print the footprint of a file:
|
|
|
|
|
|
|
|
|
|
`pkginfo -f {{path/to/file}}`
|