Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


CircleCI x86_64

This is the GNU C Library as a Alpine Linux package to run binaries linked against glibc. This package utilizes a custom built glibc binary based on the vanilla glibc source. Built binary artifacts come from


See the releases page for the latest download links. If you are using tools like localedef you will need the glibc-bin and glibc-i18n packages in addition to the glibc package.


The current installation method for these packages is to pull them in using wget or curl and install the local file with apk:

wget -q -O /etc/apk/keys/
apk add glibc-2.35-r1.apk

Please Note

⚠️ The URL of the public signing key has changed! ⚠️

Any previous reference to should be updated with immediate effect to


You will need to generate your locale if you would like to use a specific one for your glibc application. You can do this by installing the glibc-i18n package and generating a locale using the localedef binary. An example for en_US.UTF-8 would be:

apk add glibc-bin-2.35-r1.apk glibc-i18n-2.35-r1.apk
/usr/glibc-compat/bin/localedef -i en_US -f UTF-8 en_US.UTF-8