• 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

equery Command Examples in Gentoo Linux

by admin

“equery” is a command-line tool that is used to view information about packages that are managed by the Portage package manager on Gentoo Linux. It is a part of the gentoolkit package which provides a set of utilities for managing packages on Gentoo Linux systems.

equery has several commands that can be used to view specific information about packages. Some of the common commands include:

  • list: Show the list of all versions of the package that are installed on the system.
  • belongs: Show the files that belong to the package.
  • depends: Show the dependencies of the package.
  • files: Show the list of files installed by the package.
  • check: Check the integrity of the package files.

equery Command Examples

1. List all installed packages:

# equery list '*'

2. Search for installed packages in the Portage tree and in overlays:

# equery list -po package_name

3. List all packages that depend on a given package:

# equery depends package_name

4. List all packages that a given package depends on:

# equery depgraph package_name

5. List all files installed by a package:

# equery files --tree package_name

Filed Under: Linux

Some more articles you might also be interested in …

  1. lslogins Command Examples in Linux
  2. deborphan: command not found
  3. How to convert a Volume to Stripe (RAID0) Volume in LVM
  4. btrfs property Command Examples in Linux
  5. CentOS / RHEL 7 : How to configure VLAN Tagging using nmcli
  6. lvconvert Command Examples in Linux
  7. CentOS / RHEL 6 : How to configure 802.1q VLAN On NIC
  8. smartctl: command not found
  9. How to Delete Duplicate Rules in Routing Policy Database in CentOS/RHEL
  10. How to Schedule Tasks Using at in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright