Forrest logo
back to the equery tool

equery:tldr:a8a75

equery: List all files installed by a package.
$ equery files --tree ${package_name}
try on your machine

The command "equery files --tree ${package_name}" is used in Gentoo Linux to display the file tree structure of a specific package.

Here is a breakdown of the command:

  • "equery" is a command-line tool in Gentoo Linux used to query information about installed packages.
  • "files" is a subcommand of "equery" which lists the files installed by a package.
  • "--tree" is an option for the "equery files" command to display the file tree structure.
  • "${package_name}" is a placeholder that should be replaced with the name of the package you want to examine.

So, when you run the command with the appropriate package name, it will display a tree-like structure of the files installed by that package. This structure includes directories and subdirectories along with the files contained within them. It gives you a comprehensive overview of the files that are part of the specified package, helping you understand its organization and contents.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the equery tool