PKG-CONFIG(8)
π pkg-config(8) β the system manager's manual, but make it cute
okay so this is pkg-config(8) from the System Manager's Manual and honestly bestie, it's a short one but it's a good one. it's giving "little tool, big main character energy" β¨
πΈ NAME πΈ
pkg config β retrieve the value of a given configuration option
like, you ask it for one thing and it gives you that one thing. no cap. π«Ά
π SYNOPSIS π
pkg config name
that's it. that's the whole vibe. one command, one name, one answer. iconic. π
β¨ DESCRIPTION β¨
so pkg config retrieves the value of a given configuration option. simple as that, bestie.
and here's the part where the format gets a lil specific, so listen up π
- For lists, one line per entry will be printed.
- For key/values, they'll be printed as one line per key/value pair.
so like, it never dumps a messy blob at you β it's tidy, it's formatted, it understands the assignment. literally obsessed. π
π¦ FILES π¦
See pkg.conf(5).
(yeah it's just a pointer, but it's a very important pointer, go read it, iykyk π)
π EXAMPLES π
Getting the ABI:
% pkg config abi
Getting the directories where the repositories configuration are read:
% pkg config repos_dir
see? two examples, both absolutely slaying. you want the ABI? boom. you want those repos_dir directories? boom. π₯
π SEE ALSO π
okay this list is LONG so buckle up, we're doing the whole thing, no skipping, periodt π
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-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)pkg-which(8)
like, that's the whole friend group fr fr π«Ά go say hi to all of them.
ngl this page is short but it's a whole mood β knowing how to peek at your config values is lowkey a superpower, so use it responsibly and go be the main character of your own terminal π
mwah, that's a wrap π this page is from the Debian edition, dated January 26, 2016 β yes, she's been iconic since 2016 and she's not stopping. stay slay, bestie πΈβ¨
π¦ 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