snippetbashTip
pacman --files — Query the local files database. See also: `pacman`, `pkgfile`. More information: <https://manned.org
Viewed 0 times
pacman --filesthecommandlocalfilesdatabasecliquery
linux
Problem
How to use the
pacman --files command: Query the local files database. See also: pacman, pkgfile. More information: <https://manned.org/pacman.8>.Solution
pacman --files — Query the local files database. See also: pacman, pkgfile. More information: <https://manned.org/pacman.8>.Update the package database:
sudo pacman -FyFind the package that owns a specific [F]ile:
pacman -F {{filename}}Find the package that owns a specific [F]ile, using a
rege[x]:pacman -Fx '{{regex}}'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 -FhCode Snippets
Update the package database
sudo pacman -FyFind the package that owns a specific [F]ile
pacman -F {{filename}}Find the package that owns a specific [F]ile, using a `rege[x]`
pacman -Fx '{{regex}}'List only the package names
pacman -Fq {{filename}}[l]ist the [F]iles owned by a specific package
pacman -Fl {{package}}Context
tldr-pages: linux/pacman --files
Revisions (0)
No revisions yet.