# glibc を Homebrew, dnf, Nix, pacman, zypper, apt でインストール

glibc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install glibc
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install glibc
```

  証拠: Fedora Rawhide package metadata: glibc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: openSUSE Tumbleweed package metadata: glibc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:glibc
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.39
- **ソース概要:** GNU C Library
- **ホームページ:** <https://www.gnu.org/software/libc/>
- **最終更新:** 2026-08-03T09:02:40Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gencat (エイリアス)
- getconf (エイリアス)
- getent (エイリアス)
- iconvconfig (エイリアス)
- ld.so (エイリアス)
- ldconfig (エイリアス)
- ldd (エイリアス)
- locale (エイリアス)
- localedef (エイリアス)
- makedb (エイリアス)
- mtrace (エイリアス)
- nscd (エイリアス)
- pcprofiledump (エイリアス)
- pldd (エイリアス)
- sln (エイリアス)
- sotruss (エイリアス)
- sprof (エイリアス)
- tzselect (エイリアス)
- xtrace (エイリアス)
- zdump (エイリアス)
- zic (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.39
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://ftp.gnu.org/gnu/glibc/>
- <https://sourceware.org/glibc/manual/2.43/html_node/Introduction.html>
- <https://sourceware.org/glibc/wiki/HomePage>
- <https://www.gnu.org/software/libc/>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- 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


## Combined YAML source

View the package source record on GitHub. [combined/glibc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/glibc.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
