C library

The basic library that almost every program uses to talk to the operating system kernel, such as glibc on Debian Linux or musl on Alpine Linux.

In more detail

Programs compiled against glibc may fail or behave differently on Alpine, which uses musl. That is the most common surprise when moving to a smaller Alpine base, and a reason to use a slim Debian base for some languages.

Example

CGO_ENABLED=0 removes the need for the C library at run time

Related terms

Taught in

References

Certification courses