FastBrew

Formula v2.39

glibc

GNU C Library

$
brew install glibc

1 app ready

Source
homebrew/core
License
GPL-2.0-or-later AND LGPL-2.1-or-later
Website
gnu.org

About

Install glibc on macOS with Homebrew Formula using `brew install glibc`. glibc is a Utilities command-line package with version 2.39. The formula is published under the GPL-2.0-or-later AND LGPL-2.1-or-later license. The package is listed in homebrew/core.

Dependencies

Installation notes

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.

Homebrew installs

+9.8% vs 90 day average
30 days
28.8K
960 a day
90 days
78.7K
875 a day
1 year
218K
597 a day

Questions

How do I install glibc with Homebrew?
Run brew install glibc in Terminal to install glibc as a Homebrew formula on macOS.
What kind of package is glibc?
glibc is a Utilities Homebrew formula and FastBrew currently shows version 2.39.
What should I review before installing glibc?
Review the runtime dependencies (linux-headers@6.8) and build dependencies (none listed) along with any caveats before installing.
View all

formula Utilities

xz

General-purpose data compression with high compression ratio

v5.8.4

formula Utilities

python@3.14

Interpreted, interactive, object-oriented programming language

v3.14.10

formula Utilities

gh

GitHub command-line tool

v2.104.0

formula Utilities

readline

Library for command-line editing

v8.3.6

formula Utilities

zstd

Zstandard is a real-time compression algorithm

v1.5.7

formula Utilities

glib

Core application library for C

v2.90.1