# pkgconf

> Package compiler and linker metadata toolkit

Source: https://talira.ai/catalog/pkgconf-p8b2ngvb
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / build / package config](https://talira.ai/categories/developer-tools/build/package-config)
- Licence: ISC[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [pkgconf](https://talira.ai/orgs/pkgconf.md)

pkgconf finds the compiler and linker flags for development libraries from their .pc files. It's a superset of freedesktop.org's pkg-config (without bug-for-bug compatibility) and is the pkg-config on many Linux distributions and BSDs. It builds a flattened dependency graph, which allows more conservative linking, and its solver handles graphs with hundreds of dependencies. libpkgconf gives compilers and IDEs the same lookups as a library, and bomtool and spdxtool write a software bill of materials (SPDX 2.0, SPDX Lite 3.0.1) for a set of pkg-config modules. It builds with Meson, or as a single pkgconf-lite binary.

## Links

- GitHub: https://github.com/pkgconf/pkgconf

## Problems it solves

- find the compiler and linker flags for a C library I depend on
- a faster pkg-config replacement for my build
- generate an SBOM for the C libraries my program links against
- look up installed libraries from my own build tool or IDE

## Features

- superset of pkg-config
- flattened dependency graph for conservative linking
- libpkgconf library
- bomtool and spdxtool SBOM generators
- pkgconf-lite single binary

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 1.00, adoption 0.57, momentum 0.21, community 0.81, backing 0.30, extensibility 0.20.

- last commit yesterday
- 60 commits in the last 90 days
- latest release pkgconf-3.0.11 10 days ago
- 671 GitHub stars
- 102 contributors
- accepts sponsorship (Open Collective)
- has a company behind it

## Sources

[^1]: https://github.com/pkgconf/pkgconf/blob/main/COPYING (checked 23 Nov 2026)
