Files
cheatsheet-tldr/tldr/linux/pacman-files
2024-12-01 00:22:32 +00:00

35 lines
645 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`
- Find the package that owns a specific [F]ile, using a regular e[x]pression:
`pacman -Fx '{{regular_expression}}'`
- 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`