PKG-INFO(8)
π 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 thepkg-messagefor 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, return0, otherwise return1. 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 settingCASE_SENSITIVE_MATCHto true inpkg.conf. π«Ά-k,--lockedβ show the locking status for pkg-name. When used in combination with-dor-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 ofre_format(7). π§
π ENVIRONMENT π
The following environment variables affect the execution of pkg info. See pkg.conf(5) for further description.
PKG_DBDIRCASE_SENSITIVE_MATCH
π FILES π
See pkg.conf(5).
β SEE ALSO β
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-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)pkg-which(8)
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
- 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