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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. How To Remove Disk from a LVM Volume Group
  2. lvmdump Command Examples in Linux
  3. ping Command Examples in Linux
  4. e2fsck Command Examples in Linux
  5. How to Create and Query a BTRFS File System
  6. Linux OS Service ‘xendomains’
  7. Echo Command with Practical Examples
  8. CentOS / RHEL : How to find free space in a Volume Group in LVM
  9. Linux OS Service ‘ntpd’
  10. ttyrec – Record Terminal Session in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright