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`.
|
2024-09-24 21:47:18 +02:00
|
|
|
> More information: <https://manned.org/pacman.8>.
|
2021-03-08 16:02:50 -03:00
|
|
|
|
|
|
|
- Update the package database:
|
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
`sudo pacman -Fy`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
- Find the package that owns a specific [F]ile:
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
`pacman -F {{filename}}`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
- Find the package that owns a specific [F]ile, using a regular e[x]pression:
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
`pacman -Fx '{{regular_expression}}'`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
|
|
|
- List only the package names:
|
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
`pacman -Fq {{filename}}`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
- [l]ist the [F]iles owned by a specific package:
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
`pacman -Fl {{package}}`
|
2021-03-08 16:02:50 -03:00
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
- Display [h]elp:
|
2022-10-17 20:09:25 +05:30
|
|
|
|
2024-11-30 09:49:04 +08:00
|
|
|
`pacman -Fh`
|