HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pkginfo — Query the package database on a CRUX system. More information: <https://crux.nu/Main/Handbook3-6#nto

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecruxcommanddatabasepkginfocliquerypackage
linux

Problem

How to use the pkginfo command: Query the package database on a CRUX system. More information: <https://crux.nu/Main/Handbook3-6#ntoc19>.

Solution

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|--installed]}}


List files owned by a package:
pkginfo {{[-l|--list]}} {{package}}


List the owner(s) of files matching a pattern:
pkginfo {{[-o|--owner]}} {{pattern}}


Print the footprint of a file:
pkginfo -f {{path/to/file}}

Code Snippets

List installed packages and their versions

pkginfo {{[-i|--installed]}}

List files owned by a package

pkginfo {{[-l|--list]}} {{package}}

List the owner(s) of files matching a pattern

pkginfo {{[-o|--owner]}} {{pattern}}

Print the footprint of a file

pkginfo -f {{path/to/file}}

Context

tldr-pages: linux/pkginfo

Revisions (0)

No revisions yet.