Introduction to Pkg-config

The Pkg-config package contains tools for passing the include path and/or library paths to build tools during the make file execution.

Package Information

Installation of Pkg-config



Till version 0.18, this package was called Pkgconfig.

Install Pkg-config by running the following commands:

./configure --prefix=/usr &&

To test the results, issue: make check.

Now, as the root user:

make install

Configuring Pkg-config

The default setting for PKG_CONFIG_PATH is /usr/lib/pkgconfig because of the prefix used to install Pkg-config. You may add to PKG_CONFIG_PATH by exporting additional paths on your system where pkgconfig files are installed. Note that PKG_CONFIG_PATH is only needed when compiling packages, not during run-time.


Installed Program: pkg-config
Installed Libraries: None
Installed Directories: None

Short Descriptions


is a function that returns meta information for the specified library.

Last updated on 2005-08-14 23:55:47 -0600