pkginfo

Query the package database on a CRUX system.

Install

All systems
curl cmd.cat/pkginfo.sh
Debian Debian
apt-get install python3-pkginfo
Ubuntu
apt-get install python3-pkginfo
Arch Arch Linux
pacman -S python3-pkginfo
image/svg+xml Kali Linux
apt-get install python3-pkginfo
Fedora
dnf install python3-pkginfo
Raspbian
apt-get install python3-pkginfo

Query the package database on a CRUX system.

  • 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

© tl;dr; authors and contributors