Credential access
Reads local package config and environment paths, not secrets by default.
brew / approval gates / rank 19
Package compiler and linker metadata toolkit. Version 3.0.7 via Homebrew; verified 2026-09-10. Also installable with debian: sudo apt install libpkgconf-dev.
agent safety
pkgconf resolves build flags that influence native builds and linked artifacts.
Reads local package config and environment paths, not secrets by default.
Does not mutate remote systems directly.
Can influence compiled artifact behavior through build metadata.
Gate use only when paired with release builds or untrusted search paths.
Allow normal build introspection; require approval for release builds using untrusted pkg-config paths.
install
brew install pkgconflocal Homebrew formula metadata
sudo port install pkgconfMacPorts ports tree · devel/pkgconf/Portfile · source: api.github.com
sudo apk add pkgconfAlpine Linux edge package indexes · pkgconf · source: dl-cdn.alpinelinux.org
sudo apt install pkgconfDebian stable package indexes · pkgconf · source: deb.debian.org
sudo dnf install pkgconfFedora Rawhide package metadata · pkgconf · source: dl.fedoraproject.org
nix profile install nixpkgs#pkgconfnixpkgs package indexes · pkgconf · source: raw.githubusercontent.com
sudo pacman -S pkgconfArch Linux sync databases · pkgconf · source: geo.mirror.pkgbuild.com
sudo zypper install pkgconfopenSUSE Tumbleweed package metadata · pkgconf · source: download.opensuse.org
scoop install main/pkgconfScoop official bucket manifest trees · bucket/pkgconf.json · source: api.github.com
winget install --id pkgconf.pkgconf -eWindows Package Manager source index · pkgconf.pkgconf · source: cdn.winget.microsoft.com
overview
Package compiler and linker metadata toolkit
history
pkgconf is a cross-platform implementation and extension of the pkg-config model for discovering development libraries and calculating their compiler and linker flags.
pkgconf emerged as an alternative implementation of the pkg-config interface and developed into a broader package compiler and linker metadata toolkit. Upstream describes it as a functional superset of freedesktop.org pkg-config while explicitly declining bug-for-bug compatibility.
The project expanded beyond its command-line frontend to provide libpkgconf and SBOM-oriented utilities. Its current build uses Meson, with a lightweight Makefile option for pkg-config-only bootstrap use and Muon support where Python is unavailable.
pkgconf has been adopted across many operating-system package ecosystems and is frequently exposed through a pkg-config-compatible command name. The supplied package facts list Alpine, Homebrew, Debian, Fedora-family, MacPorts, Nix, Arch, Ubuntu, openSUSE, Scoop, and WinGet packages.
The upstream project deliberately leaves creation of the pkg-config symlink to operating-system vendors, making the compatibility command an explicit packaging-policy decision.
Build systems and developers query pkgconf with package names to obtain compiler and linker flags derived from installed .pc metadata. It can be invoked directly as pkgconf or, when the operating-system vendor provides a symlink, as pkg-config.
Users should depend on stable query interfaces rather than parsing --debug output. Correct dependency declarations in .pc files allow pkgconf to flatten dependency graphs and reduce overlinking.
pkgconf sits on a critical seam between package metadata and native compilation. It resolves .pc module relationships and emits the include paths, compiler options, and linker flags consumed by build systems.
Compared with the original pkg-config implementation, pkgconf emphasizes graph-based dependency solving, large dependency graphs, virtual packages, Conflicts handling, and avoiding unnecessary overlinking. It also exposes libpkgconf for integration into compilers and IDEs and includes tools for generating SPDX software bills of materials.
approval gates
The local approval-gate seed includes 3 rules for pkgconf. Covered entrypoints: pkg-config, pkgconf. Severity labels: low, medium. Coverage: partial, reviewed 2026-05-21.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bomtool | cli | global executable | |
pccritic | cli | global executable | |
pkg-config | cli | global executable | |
pkgconf | cli | global executable | |
spdxtool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/pkgconf/pkgconf
install metadata
| Package key | brew:pkgconf |
|---|---|
| Version | 3.0.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pkgconf |
| Homepage | https://github.com/pkgconf/pkgconf |
| Repository | https://github.com/pkgconf/pkgconf |
| License | ISC |
| Source archive | https://distfiles.ariadne.space/pkgconf/pkgconf-3.0.6.tar.xz |
| Last updated | 2026-09-10T05:50:10Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pkgconf |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libpkgconf-dev 1.8.1-4
development files for pkgconf
sudo apt install libpkgconf-devlibpkgconf3 1.8.1-4
shared library for pkgconf
sudo apt install libpkgconf3pkg-config 1.8.1-4
manage compile and link flags for libraries (transitional package)
sudo apt install pkg-configpkgconf 1.8.1-4
manage compile and link flags for libraries
sudo apt install pkgconfpkgconf-bin 1.8.1-4
manage compile and link flags for libraries (binaries)
sudo apt install pkgconf-binpkgconf
nix profile install nixpkgs#pkgconflibpkgconf-dev 1.8.1-2build1
development files for pkgconf
sudo apt install libpkgconf-devlibpkgconf3 1.8.1-2build1
shared library for pkgconf
sudo apt install libpkgconf3pkg-config 1.8.1-2build1
manage compile and link flags for libraries (transitional package)
sudo apt install pkg-configpkgconf 1.8.1-2build1
manage compile and link flags for libraries
sudo apt install pkgconfpkgconf-bin 1.8.1-2build1
manage compile and link flags for libraries (binaries)
sudo apt install pkgconf-binpkgconf 3.0.6-r0
development framework configuration tools
https://github.com/pkgconf/pkgconf
sudo apk add pkgconfpkgconf-dev 3.0.6-r0
development framework configuration tools (development files)
https://github.com/pkgconf/pkgconf
sudo apk add pkgconf-devpkgconf-doc 3.0.6-r0
development framework configuration tools (documentation)
https://github.com/pkgconf/pkgconf
sudo apk add pkgconf-docbomtool 2.5.1-2.fc45
Simple SBOM generator using pc(5) files
sudo dnf install bomtoollibpkgconf 2.5.1-2.fc45
Backend library for pkgconf
sudo dnf install libpkgconfsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.