Forrest logo
back to the pacman tool

pacman-files:tldr:86f44

pacman-files: Find the package that owns a specific file.
$ pacman --files ${filename}
try on your machine

The command "pacman --files ${filename}" is used in Arch Linux to list the files installed by a particular package. Here's an explanation of each part of the command:

  • "pacman" is the package manager in Arch Linux, used for managing software packages.
  • "--files" is an option or flag provided to pacman, which specifies that we want to list the files installed by a package.
  • "${filename}" is a placeholder for the name of the package you want to list the files for. You need to replace "${filename}" with the actual name of the package you are interested in.

Once you replace "${filename}" with the package name, executing this command will output a list of files installed by that package.

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 pacman tool