PKG-CONFIG(8)

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

πŸ’… 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 πŸ’€

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