pacman-files

Arch Linux package manager utility.

TLDR

Display help

$ pacman --files --help
copy


Update the package database
$ sudo pacman --files --refresh
copy


Find the package that owns a specific file
$ pacman --files [filename]
copy


Find the package that owns a specific file, using a regular expression
$ pacman --files --regex '[regular_expression]'
copy


List only the package names
$ pacman --files --quiet [filename]
copy


List the files owned by a specific package
$ pacman --files --list [package_name]
copy


List only the absolute path to the files
$ pacman --query --list --quiet [package_name]
copy

Copied to clipboard