• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

pkginfo Command Examples in Linux

by Deepika

pkginfo is a command-line tool that allows users to query the package database on a CRUX Linux system. CRUX is a lightweight, i686- and x86_64-optimized Linux distribution that is designed for experienced Linux users. The pkginfo tool provides a convenient way to search for packages, display package information, and manage packages on a CRUX system.

The CRUX package manager uses a simple and lightweight package format that consists of a collection of files that are stored in a compressed archive. The pkginfo tool provides a range of options that allow users to search for packages based on various criteria, including the package name, package version, package description, and package category. Users can also use pkginfo to display detailed information about a specific package, including its dependencies, installation size, and installation path.

One of the key features of pkginfo is its ability to manage packages on a CRUX system. Users can use pkginfo to install, upgrade, or remove packages from their system, and they can also use it to verify the integrity of installed packages by checking their digital signatures.

Another useful feature of pkginfo is its ability to work with the CRUX Ports Collection, which is a collection of build scripts that are used to build packages from source code. Users can use pkginfo to search for and download build scripts from the CRUX Ports Collection, making it easy to build and install packages that are not included in the official CRUX package repository.

pkginfo Command Examples

1. List installed packages and their versions:

# pkginfo -i

2. List files owned by a package:

# pkginfo -l package_name

3. List the owner(s) of files matching a pattern:

# pkginfo -o pattern

4. Print the footprint of a file:

# pkginfo -f file

Summary

Overall, pkginfo is a powerful tool that provides a range of features for managing packages on a CRUX system. It is easy to use and provides a simple and intuitive interface for searching for, displaying, and managing packages. If you’re using CRUX Linux and need to manage packages on your system, pkginfo is definitely worth considering.

Filed Under: Linux

Some more articles you might also be interested in …

  1. cp: Copy files and directories
  2. What is Soft Links and Hard Links in Linux File System
  3. “docker rmi” Command Examples
  4. mknod: command not found
  5. virsh Command Examples in Linux
  6. kotlin Command Examples (Kotlin application launcher)
  7. “go vet” Command Examples
  8. iftop Command Examples in Linux
  9. lrunzip: command not found
  10. man Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright