PKG-WHICH(8)
π PKG-WHICH π
okay so bestie, welcome to pkg-which β it's a section 8 system manager's manual situation, and honestly? iconic. she's the one who tells you which package installed that one specific file. iykyk. π
β¨ NAME β¨
pkg which β display which package installed a specific file π΅οΈββοΈ
πΈ SYNOPSIS πΈ
pkg which [-gopqm] file
pkg which [--{glob,origin,path-search,quiet,show-match}] file
π¦ DESCRIPTION π¦
pkg which is used for displaying the package that installed file. that's it, that's the whole vibe. you point at a file, she points back at whoever installed it. main character energy fr π
π OPTIONS π
the following options are supported by pkg which β collect them all, lowkey:
-g,--globβ treat β¨*file*β© as a glob pattern. wildcards, slay β¨-m,--show-matchβ show files that matched the glob pattern (requires--glob). not optional, bestie, she needs the glob π«Ά-o,--originβ show the origin of the package instead of name-version. different aesthetic, same energy-p,--path-searchβ search for the filename inPATH. she'll go looking for you π-q,--quietβ be quiet. shhh π€«
π ENVIRONMENT π
the following environment variables affect the execution of pkg which. See pkg.conf(5) for further description β that's the receipts, go read it π
PKG_DBDIRPATH
π FILES π
See pkg.conf(5). yes that's the whole section. she's concise π
π SEE ALSO π
a whole friend group, no cap β go say hi to all of them:
pkg_create(3), pkg_printf(3), pkg_repo_create(3), pkg_repos(3), pkg-keywords(5), pkg-lua-script(5), pkg-repository(5), pkg-script(5), pkg-triggers(5), pkg.conf(5), pkg(8), pkg-add(8), pkg-alias(8), pkg-annotate(8), pkg-audit(8), pkg-autoremove(8), pkg-check(8), pkg-clean(8), pkg-config(8), pkg-create(8), pkg-delete(8), pkg-fetch(8), pkg-help(8), pkg-info(8), pkg-install(8), pkg-key(8), pkg-lock(8), pkg-plugins(8), pkg-query(8), pkg-register(8), pkg-repo(8), pkg-repositories(8), pkg-rquery(8), pkg-search(8), pkg-set(8), pkg-shell(8), pkg-shlib(8), pkg-ssh(8), pkg-stats(8), pkg-triggers(8), pkg-unregister(8), pkg-update(8), pkg-updating(8), pkg-upgrade(8), pkg-version(8)
and that's the whole page, bestie!! π«Ά this one's brought to you by Debian, dated February 28, 2017 β vintage, honestly, she ate. go find your files, ily, bye π β¨
π¦ where this page comes from
- nixos 26.05: pkg 2.7.5
- nixpkgs unstable: pkg 2.7.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms