pkgfile

pkgfile is a tool for searching files from packages in the official repositories.

Installation

Install the pkgfile package. Alternatively, install the development version with the pkgfile-gitAUR package.

The pkgfile database can then be synced with:

# pkgfile -u

Usage

To search for a package that owns the file makepkg:

$ pkgfile makepkg
core/pacman

To list all files provided by :

Latter is comparable to (see pacman#Querying package databases), except it applies to remote packages.

Command not found

See Bash#Command not found, Zsh#pkgfile "command not found" handler and Fish#The "command not found" hook.

Automatic updates

pkgfile ships with a systemd service and timer for automatically synchronizing the pkgfile database. To activate automatic updates enable .

By default, pkgfile will be updated daily. To change this schedule, edit the unit file.

gollark: Because you *can* "hide" files that way, people *did* it, which is bad.
gollark: If we did not HAVE hidden files, it would likely be less common to foolishly hide stuff.
gollark: Not ALL of them.
gollark: Config files should be under `~/.config` (or, well, `~/config`), not randomly scattered under your home directory with names like `.vimrc` or `.apioform-config`.
gollark: Indeed.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.