pacman --files
Query the local files database. See also:
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
- Find the package that owns a specific [F]ile, using a
rege[x]:
pacman -Fx ''
- List only the package names:
pacman -Fq
- [l]ist the [F]iles owned by a specific package:
pacman -Fl
- Display [h]elp:
pacman -Fh
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
