1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 18:15:25 +02:00
tldr/pages/linux/pacman-files.md
K.B.Dharun Krishna a0a0fa81cd
pacman-*: reference main page (#10121)
* pacman-*: reference main page

* Update the same in translation files too

* pacman-files: fix ordering
2023-05-14 13:41:37 +02:00

29 lines
622 B
Markdown

# pacman --files
> Arch Linux package manager utility.
> See also: `pacman`, `pkgfile`.
> More information: <https://man.archlinux.org/man/pacman.8>.
- Update the package database:
`sudo pacman --files --refresh`
- Find the package that owns a specific file:
`pacman --files {{filename}}`
- Find the package that owns a specific file, using a regular expression:
`pacman --files --regex '{{regular_expression}}'`
- List only the package names:
`pacman --files --quiet {{filename}}`
- List the files owned by a specific package:
`pacman --files --list {{package_name}}`
- Display help:
`pacman --files --help`