macOS
brew install glibclocal Homebrew formula metadata
brew
GNU C Library. Version 2.39 via Homebrew; verified 2026-06-25.
install
brew install glibclocal Homebrew formula metadata
sudo apt install glibc-docDebian stable package indexes · glibc-doc · source: deb.debian.org
sudo dnf install compat-libpthread-nonsharedFedora Rawhide package metadata · compat-libpthread-nonshared · source: dl.fedoraproject.org
nix profile install nixpkgs#glibcnixpkgs package indexes · glibc · source: raw.githubusercontent.com
sudo pacman -S glibcArch Linux sync databases · glibc · source: geo.mirror.pkgbuild.com
sudo zypper install glibcopenSUSE Tumbleweed package metadata · glibc · source: download.opensuse.org
overview
GNU C Library
history
glibc, the GNU C Library, is the C runtime library used by GNU systems and by most systems with the Linux kernel. It supplies ISO C, POSIX, GNU, internationalization, dynamic loading, locale, resolver, threading, math, and system-call wrapper facilities that user-space programs link against.
The GNU C Library belongs to the GNU project's effort to provide a complete free Unix-like system. GNU FTP archives show glibc 1.09-era tarballs in the mid-1990s and glibc 2.0.1 in 1997, after which the 2.x line became the long-lived ABI base for Linux distributions.
Sourceware's glibc wiki describes the library as the C library for GNU systems and most Linux-kernel systems, with goals of portability, performance, standards conformance, and extensive internationalization. Its interface history is shaped by ISO C, POSIX, BSD, System V, GNU extensions, and compatibility modes selected at application build time.
glibc development is organized around the Sourceware Git repository, Bugzilla, architecture maintainers, libc-alpha review, release management, and a large testsuite. The project has to balance new CPU architectures, compiler behavior, Linux kernel interfaces, POSIX standards, security fixes, and backwards-compatible ABI promises.
glibc became one of the defining packages of mainstream Linux distributions because nearly every dynamically linked C program depends on the loader and libc ABI. Distribution upgrades, container base images, cross-toolchains, and binary compatibility policies all treat glibc as a core system component rather than an ordinary leaf package.
Its adoption also made it a reference point for alternatives such as musl, uClibc-ng, Bionic, and BSD libcs. Those projects are often evaluated against glibc's breadth, compatibility, locale behavior, dynamic linker features, and Linux ecosystem expectations.
Practitioners rarely call glibc as a standalone application; they compile and link C, C++, Go cgo, Rust libc-using crates, Python extensions, and many other native programs against its headers and shared libraries. Runtime tools such as `ldd`, `getconf`, `getent`, `locale`, `localedef`, `iconv`, and `ldconfig` expose pieces of that system layer to administrators and packagers.
Toolchain and packaging work often involves matching glibc with GCC or clang, binutils, Linux kernel headers, and distribution policy. Developers use the manual for APIs, feature-test macros, portability notes, locale behavior, memory allocation, dynamic loading, threads, sockets, name service, and process facilities.
glibc is one of the packages that defines a Linux system's ABI. A version bump can affect symbol versions, dynamic loader behavior, DNS and NSS behavior, locale archives, threading primitives, container compatibility, and the minimum runtime expected by prebuilt binaries.
For package managers, glibc is therefore both dependency and platform. It must be upgraded with care, tested broadly, and kept compatible with binaries built over many years, while still tracking kernel, compiler, security, and standards changes.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gencat | cli | global executable | |
getconf | cli | global executable | |
getent | cli | global executable | |
iconvconfig | cli | global executable | |
ld.so | cli | global executable | |
ldconfig | cli | global executable | |
ldd | cli | global executable | |
locale | cli | global executable | |
localedef | cli | global executable | |
makedb | cli | global executable | |
mtrace | cli | global executable | |
nscd | cli | global executable | |
pcprofiledump | cli | global executable | |
pldd | cli | global executable | |
sln | cli | global executable | |
sotruss | cli | global executable | |
sprof | cli | global executable | |
tzselect | cli | global executable | |
xtrace | cli | global executable | |
zdump | cli | global executable | |
zic | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.gnu.org/software/libc/
install metadata
| Package key | brew:glibc |
|---|---|
| Version | 2.39 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/glibc |
| Homepage | https://www.gnu.org/software/libc/ |
| Repository | https://sourceware.org/git/glibc.git |
| Upstream docs | https://sourceware.org/glibc/manual/2.43/html_node/index.html |
| License | GPL-2.0-or-later AND LGPL-2.1-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/glibc/glibc-2.39.tar.gz |
| Last updated | 2026-06-25T08:00:45-04:00 |
| Pulse | updated |
| Dependencies | linux-headers@6.8 |
| Bottle | available (on arm64_linux, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
| Caveats | The Homebrew's Glibc has been installed with the following executables: $HOMEBREW_PREFIX/opt/glibc/bin/ldd $HOMEBREW_PREFIX/opt/glibc/bin/ld.so $HOMEBREW_PREFIX/opt/glibc/sbin/ldconfig By default, Homebrew's linker will not search for the system's libraries. If you want Homebrew to do so, run: cp "$HOMEBREW_PREFIX/etc/ld.so.conf.d/99-system-ld.so.conf.example" "$HOMEBREW_PREFIX/etc/ld.so.conf.d/99-system-ld.so.conf" brew postinstall glibc to append the system libraries to Homebrew's ld search paths. This is risky and **highly not recommended**, because it may cause linkage to Homebrew libraries mixed with system libraries. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | glibc |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
glibc-doc 2.41-12+deb13u3
GNU C Library: Documentation
https://www.gnu.org/software/libc/libc.html
sudo apt install glibc-docglibc-source 2.41-12+deb13u3
GNU C Library: sources
https://www.gnu.org/software/libc/libc.html
sudo apt install glibc-sourcelibc-bin 2.41-12+deb13u3
GNU C Library: Binaries
https://www.gnu.org/software/libc/libc.html
sudo apt install libc-binlibc-dev-bin 2.41-12+deb13u3
GNU C Library: Development binaries
https://www.gnu.org/software/libc/libc.html
sudo apt install libc-dev-binlibc-devtools 2.41-12+deb13u3
GNU C Library: Development tools
https://www.gnu.org/software/libc/libc.html
sudo apt install libc-devtoolslibc-l10n 2.41-12+deb13u3
GNU C Library: localization files
https://www.gnu.org/software/libc/libc.html
sudo apt install libc-l10nlibc6 2.41-12+deb13u3
GNU C Library: Shared libraries
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6libc6-dbg 2.41-12+deb13u3
GNU C Library: detached debugging symbols
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6-dbglibc6-dev 2.41-12+deb13u3
GNU C Library: Development Libraries and Header Files
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6-devlibc6-dev-i386 2.41-12+deb13u3
GNU C Library: 32-bit development libraries for AMD64
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6-dev-i386libc6-dev-x32 2.41-12+deb13u3
GNU C Library: X32 ABI Development Libraries for AMD64
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6-dev-x32libc6-i386 2.41-12+deb13u3
GNU C Library: 32-bit shared libraries for AMD64
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6-i386libc6-x32 2.41-12+deb13u3
GNU C Library: X32 ABI Shared libraries for AMD64
https://www.gnu.org/software/libc/libc.html
sudo apt install libc6-x32locales 2.41-12+deb13u3
GNU C Library: National Language (locale) data [support]
https://www.gnu.org/software/libc/libc.html
sudo apt install localeslocales-all 2.41-12+deb13u3
GNU C Library: Precompiled locale data
https://www.gnu.org/software/libc/libc.html
sudo apt install locales-allnscd 2.41-12+deb13u3
GNU C Library: Name Service Cache Daemon
https://www.gnu.org/software/libc/libc.html
sudo apt install nscdsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.