NSS-CONFIG(1)
π NSS-CONFIG π
okay bestie, listen up β this one lives in the Network Security Services manual set, so if you're building stuff against NSS and you're tired of guessing where it installed itself, this little script is literally your new bestie. no cap.
β¨ NAME β¨
nss-config β returns meta info about nss libraries. that's the whole job. it's giving "I just tell you where things are" and honestly? iconic. π
πΈ SYNOPSIS πΈ
nss-config [--prefix] [--exec-prefix] [--includedir] [--libs] [--cflags]
[--libdir] [--version]
π¦ DESCRIPTION π¦
nss-config is a shell script tool (yes, a script, not some giant compiled binary β humble and slaying) that you use to get gcc options for building client packages of nspt. that's it. that's the vibe check. you ask it a question, it answers with a path or a flag, and you go build your thing. π«Ά
π OPTIONS π
--prefixβ spits out the top-level system directory where the nss libraries are installed. the big one. the main character directory. β¨--exec-prefixβ returns the top-level system directory where any nss binaries would be installed. note the "would" β it's just telling you where they'd live. π--includedir countβ returns the path to the directory where the nss libraries are installed.--versionβ returns the upstream version of nss, formatted likemajor_version-minor_version-patch_version. three little numbers, hyphen-separated, adorable. π--libsβ returns the compiler linking flags. the "hey linker, look over here" flags. π₯--cflagsβ returns the compiler include flags. the "hey compiler, the headers are right there" flags. π₯--libdirβ returns the path to the directory where the nss libraries are installed.
π EXAMPLES π
want both the include path and the linkage flags in one go? say less. this example queries both:
/usr/bin/nss-config --cflags --libs
see how you can just stack them? obsessed. πβ¨
π FILES π
/usr/bin/nss-config
π§ SEE ALSO π§
π AUTHORS π
the nss libraries were written and maintained by developers with Netscape, Red Hat, Sun, Oracle, Mozilla, and Google. a whole avengers squad fr fr. π«‘
Authors: Elio Maldonado <emaldona@redhat.com>.
β LICENSE β
Licensed under the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
lowkey important: that license line is the real deal β if you didn't get a copy of the MPL with the file, go grab it from that URL. don't just vibe past it. π
and that's the whole page, bestie!! this was nss version 3.131.0, dated 15 October 2026 β go forth and configure, you absolute legend. π
β¨π
π¦ where this page comes from
- fedora 43: nss-devel 3.131.0-1.fc43 Β· MPL-2.0
- fedora 43: nss-devel 3.131.0-1.fc43 Β· MPL-2.0
- fedora 44: nss-devel 3.131.0-1.fc44 Β· MPL-2.0
- fedora 44: nss-devel 3.131.0-1.fc44 Β· MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms