Jump to content

pkgfile (Magyar)

From ArchWiki
Fordítás állapota: Ez a cikk az angol pkgfile című cikk magyar nyelvre lefordított változata. Utolsó fordítás dátuma: 2025.11.04. Amennyiben a lefordítás időpontja óta az angol nyelvű cikkben történtek újabb módosítások, akkor Ön segíthet hozzászinkronizálni az angolhoz ezt a magyar nyelvű fordítást.

A pkgfile egy olyan szoftver, amely a hivatalos szoftvercsomag-tárolókban található szoftvercsomagokban fellelhető fájlok keresésére szolgál.

Telepítés

Install the pkgfile package.

The pkgfile database can then be synced with:

# pkgfile -u

Használat

To search for a package that owns the file makepkg:

$ pkgfile makepkg
core/pacman

To list all files provided by archlinux-keyring:

$ pkgfile -l archlinux-keyring
core/archlinux-keyring usr/
core/archlinux-keyring usr/share/
core/archlinux-keyring usr/share/pacman/
core/archlinux-keyring usr/share/pacman/keyrings/
core/archlinux-keyring usr/share/pacman/keyrings/archlinux-revoked
core/archlinux-keyring usr/share/pacman/keyrings/archlinux-trusted
core/archlinux-keyring usr/share/pacman/keyrings/archlinux.gpg

Latter is comparable to pacman -Ql (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 pkgfile-update.timer.

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