1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-24 05:44:13 +02:00
tldr/pages/linux/pkginfo.md
2022-12-04 19:12:49 +10:00

20 lines
388 B
Markdown

# pkginfo
> Query the package database on a CRUX system.
> More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.
- List installed packages and their versions:
`pkginfo -i`
- List files owned by a package:
`pkginfo -l {{package_name}}`
- List the owner(s) of files matching a pattern:
`pkginfo -o {{pattern}}`
- Print the footprint of a file:
`pkginfo -f {{path/to/file}}`