KRB5-CONFIG(1)
π KRB5-CONFIG(1) π
okay bestie, welcome to the General Commands Manual page for krb5-config β she's a little helper script from the Heimdal crew and she's about to become your study buddy β¨
πΈ NAME πΈ
krb5-config β she gives you the tea β on how to link your code against the Heimdal libraries π«Ά
β¨ SYNOPSIS β¨
krb5-config [--prefix[=dir]] [--exec-prefix[=dir]] [--libs] [--cflags]
[libraries]
π DESCRIPTION π
so basically krb5-config is the friend who tells the application programmer exactly which special flags to use so they can compile and link their programs against the libraries that Heimdal installed. no guessing, no vibes-only builds, just facts π
here's the options she supports, and yes we're doing all of them:
--prefix[=dir]β if you don't hand her a dir, she prints the prefix. if you do give her a dir, she sets the prefix to dir instead. either way, slay π--exec-prefix[=dir]β same energy but for exec-prefix: no dir means she prints the exec-prefix, and giving a dir means she sets the exec-prefix to dir. π--libsβ she outputs the whole set of libraries you should be linking against. heads up though, this also includes rpath flags, and the expectation is that you're using the C compiler for your final link-edits. no cap, that part matters π₯--cflagsβ she outputs the set of flags you hand to the C compiler when you're using the Heimdal libraries. compiler food, fr fr πΈ
by default krb5-config spits out the set of flags and libraries that a normal program using the krb5 API would need. but you can also supply a library to be used β these are the supported ones, and honestly? iconic lineup:
krb5β (this one's the default, she's the main character π)gssapiβ use thekrb5gssapi mechanism π¦kadm-clientβ use the client-side kadmin libraries πkadm-serverβ use the server-side kadmin libraries β
π SEE ALSO π
π HISTORY π
krb5-config appeared in Heimdal 0.3d. she's been here since the early days and she ate π
bestie reminder: this whole page is from HEIMDAL, dated November 30, 2000 β the manual name up top is KRB5-CONFIG(1) in case you were wondering where you are π«Ά
okay that's the whole thing, go forth and link your code, you've got this ππβ¨
π¦ where this page comes from
- debian bookworm: heimdal-multidev 7.8.git20221117.28daf24+dfsg-2 Β· BSD-3-Clause
- debian trixie: heimdal-multidev 7.8.git20221117.28daf24+dfsg-9+deb13u1 Β· BSD-3-Clause
- ubuntu jammy: heimdal-multidev 7.7.0+dfsg-3ubuntu1 Β· BSD-3-Clause
- ubuntu noble: heimdal-multidev 7.8.git20221117.28daf24+dfsg-5ubuntu3 Β· BSD-3-Clause
- ubuntu questing: heimdal-multidev 7.8.git20221117.28daf24+dfsg-9ubuntu1
- ubuntu resolute: heimdal-multidev 7.8.git20221117.28daf24+dfsg-11ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: heimdal-multidev 7.8.git20240113.1b4565a+dfsg-2ubuntu1 Β· BSD-3-Clause
- Copyright (c) 2000 - 2001 Kungliga Tekniska HΓΆgskolan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms