2021-03-08 19:02:50 +00:00
|
|
|
# pacman --files
|
|
|
|
|
|
|
|
> Arch Linux package manager utility.
|
2021-04-25 13:07:10 +01:00
|
|
|
> See also `pkgfile`.
|
2021-03-08 19:02:50 +00:00
|
|
|
> More information: <https://man.archlinux.org/man/pacman.8>.
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`pacman --files --help`
|
|
|
|
|
|
|
|
- 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 10:03:12 +01:00
|
|
|
`pacman --files --regex '{{regular_expression}}'`
|
2021-03-08 19:02:50 +00:00
|
|
|
|
|
|
|
- List only the package names:
|
|
|
|
|
2021-04-19 19:04:21 +01:00
|
|
|
`pacman --files --quiet {{filename}}`
|
2021-03-08 19:02:50 +00:00
|
|
|
|
|
|
|
- List the files owned by a specific package:
|
|
|
|
|
|
|
|
`pacman --files --list {{package_name}}`
|
|
|
|
|
|
|
|
- List only the absolute path to the files:
|
|
|
|
|
2021-04-19 19:36:35 +01:00
|
|
|
`pacman --query --list --quiet {{package_name}}`
|