# Install glibc

GNU C Library. Version 2.39 via Homebrew; verified 2026-04-13.

## Install

```sh
sudo av install brew:glibc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install glibc
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install glibc-doc
```

  Evidence: Debian stable package indexes: glibc-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install compat-libpthread-nonshared
```

  Evidence: Fedora Rawhide package metadata: compat-libpthread-nonshared from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#glibc
```

  Evidence: nixpkgs package indexes: glibc from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S glibc
```

  Evidence: Arch Linux sync databases: glibc from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install glibc
```

  Evidence: openSUSE Tumbleweed package metadata: glibc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:glibc
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/glibc>
- **Version:** 2.39
- **Source summary:** GNU C Library
- **Homepage:** <https://www.gnu.org/software/libc/>
- **Repository:** <https://sourceware.org/git/glibc.git>
- **Upstream docs:** <https://sourceware.org/glibc/manual/latest/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-04-13T13:44:08Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- gencat (cli)
- getconf (cli)
- getent (cli)
- iconvconfig (cli)
- ld.so (cli)
- ldconfig (cli)
- ldd (cli)
- locale (cli)
- localedef (cli)
- makedb (cli)
- mtrace (cli)
- nscd (cli)
- pcprofiledump (cli)
- pldd (cli)
- sln (cli)
- sotruss (cli)
- sprof (cli)
- tzselect (cli)
- xtrace (cli)
- zdump (cli)
- zic (cli)
- gencat (alias)
- getconf (alias)
- getent (alias)
- iconvconfig (alias)
- ld.so (alias)
- ldconfig (alias)
- ldd (alias)
- locale (alias)
- localedef (alias)
- makedb (alias)
- mtrace (alias)
- nscd (alias)
- pcprofiledump (alias)
- pldd (alias)
- sln (alias)
- sotruss (alias)
- sprof (alias)
- tzselect (alias)
- xtrace (alias)
- zdump (alias)
- zic (alias)

## Dependencies

- linux-headers@6.8

## Install Behavior

- Post-install hook: defined
- 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.
- Bottle: available on arm64_linux, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.39
- Package-manager updated: 2026-04-13
- Local data status: ok
- Upstream repository: https://www.gnu.org/software/libc/
- info: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** glibc
- **Aliases:** glibc@2.39
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** brewedglibcnotolder, linux, linuxkernel
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - glibc-doc - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: glibc-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Documentation | https://www.gnu.org/software/libc/libc.html
- Debian apt - glibc-source - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: glibc-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: sources | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc-bin - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Binaries | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc-dev-bin - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc-dev-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Development binaries | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc-devtools - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc-devtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Development tools | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc-l10n - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: localization files | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6 - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Shared libraries | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6-dbg - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6-dbg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: detached debugging symbols | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6-dev - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Development Libraries and Header Files | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6-dev-i386 - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6-dev-i386 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: 32-bit development libraries for AMD64 | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6-dev-x32 - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6-dev-x32 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: X32 ABI Development Libraries for AMD64 | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6-i386 - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6-i386 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: 32-bit shared libraries for AMD64 | https://www.gnu.org/software/libc/libc.html
- Debian apt - libc6-x32 - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: libc6-x32 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: X32 ABI Shared libraries for AMD64 | https://www.gnu.org/software/libc/libc.html
- Debian apt - locales - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: locales from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: National Language (locale) data [support] | https://www.gnu.org/software/libc/libc.html
- Debian apt - locales-all - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: locales-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Precompiled locale data | https://www.gnu.org/software/libc/libc.html
- Debian apt - nscd - 2.41-12+deb13u3: normalized package name match | Debian stable package indexes: nscd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNU C Library: Name Service Cache Daemon | https://www.gnu.org/software/libc/libc.html


## Related Links

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [glibc@2.17](https://www.automicvault.com/ja/pkg/brew/glibc-2-17/) - Package name indicates the same formula family.
- [glibc@2.13](https://www.automicvault.com/ja/pkg/brew/glibc-2-13/) - Package name indicates the same formula family.
- [crun](https://www.automicvault.com/ja/pkg/brew/crun/) - Shares av.db curated category or tags: c-library, cli, linux, system.
- [chmlib](https://www.automicvault.com/ja/pkg/brew/chmlib/) - Shares av.db curated category or tags: cli, libraries, system.
- [isa-l](https://www.automicvault.com/ja/pkg/brew/isa-l/) - Shares av.db curated category or tags: cli, libraries, system.
- [liblockfile](https://www.automicvault.com/ja/pkg/brew/liblockfile/) - Shares av.db curated category or tags: cli, libraries, system.
- [coreutils](https://www.automicvault.com/ja/pkg/brew/coreutils/) - Shares av.db curated category or tags: cli, gnu, system.
- [util-linux](https://www.automicvault.com/ja/pkg/brew/util-linux/) - Shares av.db curated category or tags: cli, linux, system.
- [bash](https://www.automicvault.com/ja/pkg/brew/bash/) - Shares av.db curated category or tags: cli, gnu, system.
- [podman](https://www.automicvault.com/ja/pkg/brew/podman/) - Shares av.db curated category or tags: cli, linux, system.
- [bc](https://www.automicvault.com/ja/pkg/brew/bc/) - Local package facts share a topical domain. Shared terms: cli, gnu, system.

## Sources

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