Pkg-config

pkg-config
Original author(s)James Henstridge; rewritten by Havoc Pennington
Developer(s)Tollef Fog Heen / freedesktop.org
Initial release2000; 24 years ago (2000) or earlier
Stable release
0.29.2 / March 20, 2017; 7 years ago (2017-03-20)
Repositorygitlab.freedesktop.org/pkg-config/pkg-config
Written inC
Operating systemUnix-like
TypeProgramming tool
LicenseGNU GPL
Websitewww.freedesktop.org/wiki/Software/pkg-config/

pkg-config is a computer program that defines and supports a unified interface for querying installed libraries for the purpose of compiling software that depends on them. It allows programmers and installation scripts to work without explicit knowledge of detailed library path information. pkg-config was originally designed for Linux, but it is now also available for BSD, Microsoft Windows, macOS, and Solaris.

It outputs various information about installed libraries. This information may include:

The first implementation was written in shell.[1] Later, it was rewritten in C using the GLib library.[2]

  1. ^ Havoc Pennington (4 June 2000). "Re: the *-config scripts". Retrieved 2020-01-22.
  2. ^ Havoc Pennington (23 July 2000). "pkg-config". Retrieved 2020-01-22.