2021-03-08 16:02:50 -03:00
|
|
|
# pacman --files
|
|
|
|
|
|
|
|
> Arch Linux package manager utility.
|
2023-05-14 17:11:37 +05:30
|
|
|
> See also: `pacman`, `pkgfile`.
|
2021-03-08 16:02:50 -03:00
|
|
|
> 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:
|
|
|
|
|
2021-05-10 11:03:12 +02:00
|
|
|
`pacman --files --regex '{{regular_expression}}'`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
|
|
|
- List only the package names:
|
|
|
|
|
2021-04-19 20:04:21 +02:00
|
|
|
`pacman --files --quiet {{filename}}`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
|
|
|
- List the files owned by a specific package:
|
|
|
|
|
2023-08-26 23:00:06 +05:30
|
|
|
`pacman --files --list {{package}}`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2022-10-17 20:09:25 +05:30
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`pacman --files --help`
|