PKG-WHICH(8)

πŸ“¦ version 2.7.5, in nixos 26.05, nixpkgs unstable

πŸ’… 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 in PATH. 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_DBDIR
  • PATH

πŸ“ 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