Article · Wikipedia archive · Last revised Jul 17, 2026

Gnulib

Gnulib, also called the GNU portability library, is a collection of software subroutines which are designed to be usable on many operating systems. The goal of the project is to make it easy for free software authors to make their software run on many operating systems. Since source is designed to be copied from gnulib, it is not a library per-se, as much as a collection of portable idioms to be used in other projects.

Last revised
Jul 17, 2026
Read time
≈ 1 min
Length
176 w
Citations
1
Source
Gnulib
DeveloperGNU Project
Written inC
Operating systemGNU
TypeGNU portability library
LicenseGNU General Public License
Websitewww.gnu.org/software/gnulib/
Repository

Gnulib, also called the GNU portability library, is a collection of software subroutines which are designed to be usable on many operating systems. The goal of the project is to make it easy for free software authors to make their software run on many operating systems. Since source is designed to be copied from gnulib, it is not a library per-se, as much as a collection of portable idioms to be used in other projects.1

Making a software package work on a system other than the original system it worked on is usually called "porting" the software to the new system, and a library is a collection of subroutines which can be added to new programs. Thus, Gnulib is the GNU project's portability library.

It is primarily written for use by the GNU Project, but can be used by any free software project.

See also

See also

References

References

External links