LinuxCommandLibrary

pacman-files

Arch Linux package manager utility.

TLDR

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]
copy


Display help
$ pacman --files --help
copy

Copied to clipboard