LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pkginfo

Query CRUX Linux package database

TLDR

List installed packages and versions
$ pkginfo -i
copy
List files owned by a package
$ pkginfo -l [package]
copy
Find owner of files matching pattern
$ pkginfo -o [pattern]
copy
Print footprint of a file
$ pkginfo -f [path/to/file]
copy

SYNOPSIS

pkginfo [-i|--installed] [-l|--list pkg] [-o|--owner pattern] [-f file]

DESCRIPTION

pkginfo queries the package database on CRUX Linux systems. It can list installed packages, show package contents, and determine which package owns specific files.The tool reads from the package database maintained by pkgadd and pkgrm, providing essential information for system administration and troubleshooting.

PARAMETERS

-i, --installed

List all installed packages with versions
-l, --list _package_
List files owned by package
-o, --owner _pattern_
Find package(s) owning files matching pattern
-f _file_
Print the footprint of a package file
-r, --root _path_
Use alternate root directory

INSTALL

sudo apk add py3-pkginfo
copy

CAVEATS

CRUX-specific tool. Pattern matching uses shell wildcards. Footprint comparison helps verify package integrity. Database location fixed at /var/lib/pkg/db.

HISTORY

pkginfo is part of pkgutils, the native package management system for CRUX Linux. It provides simple query functionality consistent with CRUX's minimalist philosophy.

SEE ALSO

pkgadd(8), pkgrm(8), pkgmk(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid