PKG-INFO(8)

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

πŸ’– pkg info β€” display information for packages πŸ’–

pkg-info(8) has entered the group chat, bestie, and she's here to spill all the deets on pkg info β€” the tool for displaying information for packages. It's giving package-info desk, no cap. πŸ’…


✨ SYNOPSIS ✨

Here are the exact invocation shapes, preserved character-for-character:

pkg info pkg-name
pkg info -a
pkg info [-ABbDdefIklOpqRrs] [-Cgix] pkg-name
pkg info [-ABbDdfIlpqRrs] -F pkg-file

pkg info pkg-name
pkg info --all
pkg info [--{annotations,provided-shlibs,required-shlibs}]
    [--{pkg-message,dependencies,exists,full,comment,locked}]
    [--{list-files,by-origin,quiet,prefix,raw,required-by,size}]
    [--{case-sensitive,glob,case-insensitive,regex}] pkg-name
pkg info [--{annotations,provided-shlibs,required-shlibs}]
    [--{pkg-message,dependencies,full,comment,list-files}]
    [--{quiet,prefix,raw,required-by,size}] --file pkg-file
    [--raw-format format]

πŸ¦‹ DESCRIPTION πŸ¦‹

pkg info is used for displaying information for packages. That's the whole vibe: package deets on demand, served fresh. ✨


πŸŽ€ OPTIONS πŸŽ€

The following options are supported by pkg info:

  • -A, --annotations β€” display any annotations added to the package. πŸ’–
  • -a, --all β€” display all installed packages. πŸ‘‘
  • -B, --required-shlibs β€” display all shared libraries used by pkg-name. πŸ¦‹
  • -b, --provided-shlibs β€” display all shared libraries provided by pkg-name. 🌸
  • -C, --case-sensitive β€” make the standard or the regular expression (-x) matching against pkg-name case sensitive. πŸ”₯
  • -D, --pkg-message β€” show the pkg-message for matching packages. πŸ’Œ
  • -d, --dependencies β€” display the list of packages on which pkg-name depends. 🧚
  • -E, --show-name-only β€” hides the full package output and only shows the package name. This option is deprecated and exists only for Ports compatibility. πŸ’€
  • -e, --exists β€” if pkg-name is installed and registered in the database, return 0, otherwise return 1. Useful for checking whether the package is installed. βœ…
  • -F pkg-file, --file pkg-file β€” displays information from the package archive pkg-file. πŸ“¦
  • -f, --full β€” display full information about the packages matching pkg-name. This is the default. ⭐
  • -g, --glob β€” treat pkg-name as a shell glob pattern. 🌈
  • -I, --comment β€” display the specified packages and their comments. πŸ’¬
  • -i, --case-insensitive β€” make the standard or the regular expression (-x) matching against pkg-name case insensitive. This is the default, unless modified by setting CASE_SENSITIVE_MATCH to true in pkg.conf. 🫢
  • -k, --locked β€” show the locking status for pkg-name. When used in combination with -d or -r, indicate which packages, dependencies or requirements are locked by '(*)'. Locking status is only meaningful for installed packages; all locking statuses will show as unlocked when information about a pkg-file is queried. πŸ”’
  • -l, --list-files β€” display all files installed by pkg-name. πŸ“
  • -O, --by-origin β€” search is done by the pkg-name origin. Added only for Ports compatibility. 🧭
  • -o, --origin β€” display the pkg-name origin. 🌱
  • -p, --prefix β€” display the installation prefix for each package matching pkg-name. 🏠
  • -q, --quiet β€” be β€œquiet”. Prints only the requested information without displaying many hints. 🀫
  • -R, --raw β€” display the full manifest (raw) for the packages matching pkg-name. πŸ“œ
  • -r, --required-by β€” display the list of packages which require pkg-name. πŸ’ž
  • --raw-format format β€” choose the format of the raw output. The format can be: ucl (default), json, json-compact, yaml. 🎨
  • -s, --size β€” display the total size of files installed by pkg-name. πŸ“
  • -x, --regex β€” treat pkg-name as a regular expression according to the "modern" or "extended" syntax of re_format(7). 🧠

πŸ’œ ENVIRONMENT πŸ’œ

The following environment variables affect the execution of pkg info. See pkg.conf(5) for further description.

  • PKG_DBDIR
  • CASE_SENSITIVE_MATCH

🌈 FILES 🌈

See pkg.conf(5).


⭐ SEE ALSO ⭐


That's the whole page, bestie! Source/version: Debian; date: December 1, 2014. Go off and pkg info responsibly β€” mwah! πŸ’…βœ¨

πŸ“¦ where this page comes from