1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-31 04:35:42 +02:00
tldr/pages/linux/pacman-files.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

529 B

pacman --files

Arch Linux package manager utility. See also: pacman, pkgfile. More information: https://manned.org/pacman.8.

  • Update the package database:

sudo pacman -Fy

  • Find the package that owns a specific [F]ile:

pacman -F {{filename}}

  • Find the package that owns a specific [F]ile, using a rege[x]:

pacman -Fx '{{regex}}'

  • List only the package names:

pacman -Fq {{filename}}

  • [l]ist the [F]iles owned by a specific package:

pacman -Fl {{package}}

  • Display [h]elp:

pacman -Fh