LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pacman-files

queries the files database to find which packages own specific files

TLDR

Update files database
$ sudo pacman -Fy
copy
Find package owning file
$ pacman -F filename
copy
Find using regex
$ pacman -Fx 'regex'
copy
List package names only
$ pacman -Fq filename
copy
List files in package
$ pacman -Fl package
copy

SYNOPSIS

pacman -F [OPTIONS] [FILE...]

DESCRIPTION

pacman -F (files) queries the files database to find which packages own specific files or to list files contained in packages. This works even for packages that are not installed.

PARAMETERS

-F, --files

Query the files database
-y, --refresh
Download fresh files database from the server
-l, --list
List files owned by the specified package
-x, --regex
Interpret the search pattern as a regular expression
-q, --quiet
Show only package names without repository

INSTALL

sudo apt install pacman-package-manager
copy
sudo dnf install pacman
copy
sudo pacman -S pacman
copy
sudo apk add pacman
copy
nix profile install nixpkgs#pacman
copy

CAVEATS

The files database must be updated separately from the sync database using -Fy. This database can be large and updates may take time. For finding files from installed packages, use pacman -Qo instead.

HISTORY

pacman is the package manager for Arch Linux and its derivatives. The files database feature allows searching for files across all available packages.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid