1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pkginfo.md
2021-11-01 10:39:43 +05:30

20 lines
380 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 {{file}}`