2025-03-14 21:59:59 -06:00
|
|
|
# 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}}`
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
- Find the package that owns a specific [F]ile, using a `rege[x]`:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`pacman -Fx '{{regex}}'`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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`
|