Automic VaultAutomic Vault

brew

Install glibc with Homebrew, apt, dnf, Nix, pacman, zypper

GNU C Library. Version 2.39 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install glibc

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install glibc-doc

Debian stable package indexes · glibc-doc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install compat-libpthread-nonshared

Fedora Rawhide package metadata · compat-libpthread-nonshared · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#glibc

nixpkgs package indexes · glibc · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S glibc

Arch Linux sync databases · glibc · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install glibc

openSUSE Tumbleweed package metadata · glibc · source: download.opensuse.org

overview

Package summary

GNU C Library

Commands and aliases

  • gencat
  • getconf
  • getent
  • iconvconfig
  • ld.so
  • ldconfig
  • ldd
  • locale
  • localedef
  • makedb
  • mtrace
  • nscd
  • pcprofiledump
  • pldd
  • sln
  • sotruss
  • sprof
  • tzselect
  • xtrace
  • zdump
  • zic

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 1994: GNU FTP archive lists glibc 1.09 crypt add-on material.
  • 1997: glibc 2.0.1 archive published.
  • 2000s: glibc 2.x became the common C library base for major Linux distributions.
  • 2010s: Sourceware Git, Bugzilla, architecture maintainers, and libc-alpha review became the visible development workflow.
  • 2020s: Twice-yearly release management and broad CI/testsuite work continued around Linux, GNU, compiler, and CPU-architecture changes.

Related projects

  • glibc is tied to the GNU Compiler Collection, binutils, Linux kernel headers, GNU Hurd, POSIX standards work, Linux man-pages, distribution toolchains, musl, uClibc-ng, Bionic, and BSD C libraries.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Homebrew bottle metadata is available for 2 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gencatcliglobal executable
getconfcliglobal executable
getentcliglobal executable
iconvconfigcliglobal executable
ld.socliglobal executable
ldconfigcliglobal executable
lddcliglobal executable
localecliglobal executable
localedefcliglobal executable
makedbcliglobal executable
mtracecliglobal executable
nscdcliglobal executable
pcprofiledumpcliglobal executable
plddcliglobal executable
slncliglobal executable
sotrusscliglobal executable
sprofcliglobal executable
tzselectcliglobal executable
xtracecliglobal executable
zdumpcliglobal executable
ziccliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.39
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://www.gnu.org/software/libc/

install metadata

Package metadata

Package keybrew:glibc
Version2.39
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/glibc
Homepagehttps://www.gnu.org/software/libc/
Repositoryhttps://sourceware.org/git/glibc.git
Upstream docshttps://sourceware.org/glibc/manual/2.43/html_node/index.html
LicenseGPL-2.0-or-later AND LGPL-2.1-or-later
Source archivehttps://ftpmirror.gnu.org/gnu/glibc/glibc-2.39.tar.gz
Last updated2026-06-25T08:00:45-04:00
Pulseupdated
Dependencieslinux-headers@6.8
Bottleavailable (on arm64_linux, x86_64_linux)
Homebrew post-installdefined
Servicenone declared
CaveatsThe 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 details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameglibc
Aliases
  • glibc@2.39
Version Scheme0
Revision0
Requirements
  • brewedglibcnotolder
  • linux
  • linuxkernel
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

glibc-doc 2.41-12+deb13u3

GNU C Library: Documentation

https://www.gnu.org/software/libc/libc.html

sudo apt install glibc-doc
  • Section: doc
  • Architecture: all
  • Source Package: glibc
  • 1 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: glibc-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

glibc-source 2.41-12+deb13u3

GNU C Library: sources

https://www.gnu.org/software/libc/libc.html

sudo apt install glibc-source
  • Section: devel
  • Architecture: all
  • Source Package: glibc
  • 1 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: glibc-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc-bin 2.41-12+deb13u3

GNU C Library: Binaries

https://www.gnu.org/software/libc/libc.html

sudo apt install libc-bin
  • Section: libs
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc-dev-bin 2.41-12+deb13u3

GNU C Library: Development binaries

https://www.gnu.org/software/libc/libc.html

sudo apt install libc-dev-bin
  • Section: libdevel
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc-dev-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc-devtools 2.41-12+deb13u3

GNU C Library: Development tools

https://www.gnu.org/software/libc/libc.html

sudo apt install libc-devtools
  • Section: devel
  • Architecture: amd64
  • Source Package: glibc
  • 2 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc-devtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc-l10n 2.41-12+deb13u3

GNU C Library: localization files

https://www.gnu.org/software/libc/libc.html

sudo apt install libc-l10n
  • Section: localization
  • Architecture: all
  • Source Package: glibc
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6 2.41-12+deb13u3

GNU C Library: Shared libraries

https://www.gnu.org/software/libc/libc.html

sudo apt install libc6
  • Section: libs
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • 8 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6-dbg 2.41-12+deb13u3

GNU C Library: detached debugging symbols

https://www.gnu.org/software/libc/libc.html

sudo apt install libc6-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6-dbg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6-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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: glibc
  • 5 dependencies
  • 1 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6-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-i386
  • Section: libdevel
  • Architecture: amd64
  • Source Package: glibc
  • 2 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6-dev-i386 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6-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-x32
  • Section: libdevel
  • Architecture: amd64
  • Source Package: glibc
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6-dev-x32 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6-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-i386
  • Section: libs
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6-i386 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libc6-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-x32
  • Section: libs
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libc6-x32 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

locales 2.41-12+deb13u3

GNU C Library: National Language (locale) data [support]

https://www.gnu.org/software/libc/libc.html

sudo apt install locales
  • Section: localization
  • Architecture: all
  • Source Package: glibc
  • 4 dependencies
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: locales from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

locales-all 2.41-12+deb13u3

GNU C Library: Precompiled locale data

https://www.gnu.org/software/libc/libc.html

sudo apt install locales-all
  • Section: localization
  • Architecture: amd64
  • Source Package: glibc
  • 1 dependencies
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: locales-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nscd 2.41-12+deb13u3

GNU C Library: Name Service Cache Daemon

https://www.gnu.org/software/libc/libc.html

sudo apt install nscd
  • Section: admin
  • Architecture: amd64
  • Source Package: glibc
  • 4 dependencies
  • normalized package name match
  • Matched by: Glibc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nscd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment