pkg.soopen package index

brew / approval gates / rank 19

Install pkgconf with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

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

Agent safety answer

pkgconf resolves build flags that influence native builds and linked artifacts.

Credential access

Reads local package config and environment paths, not secrets by default.

Remote mutation

Does not mutate remote systems directly.

Publish/artifact risk

Can influence compiled artifact behavior through build metadata.

Recommended control

Gate use only when paired with release builds or untrusted search paths.

Agent-use guidance

Allow normal build introspection; require approval for release builds using untrusted pkg-config paths.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pkgconf

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install pkgconf

MacPorts ports tree · devel/pkgconf/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add pkgconf

Alpine Linux edge package indexes · pkgconf · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install pkgconf

Debian stable package indexes · pkgconf · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install pkgconf

Fedora Rawhide package metadata · pkgconf · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#pkgconf

nixpkgs package indexes · pkgconf · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S pkgconf

Arch Linux sync databases · pkgconf · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install pkgconf

openSUSE Tumbleweed package metadata · pkgconf · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/pkgconf

Scoop official bucket manifest trees · bucket/pkgconf.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id pkgconf.pkgconf -e

Windows Package Manager source index · pkgconf.pkgconf · source: cdn.winget.microsoft.com

overview

Package summary

Package compiler and linker metadata toolkit

Commands and aliases

  • bomtool
  • pccritic
  • pkg-config
  • pkgconf
  • spdxtool

history

Project history and usage

pkgconf is a cross-platform implementation and extension of the pkg-config model for discovering development libraries and calculating their compiler and linker flags.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Project established as an alternative implementation of the pkg-config interface.
  • The project added libpkgconf for embedding metadata resolution in compilers, IDEs, and other tools.
  • Later development added bomtool and spdxtool for SPDX-oriented SBOM generation.
  • Current releases use Meson and retain lightweight bootstrap paths through Makefile.lite and Muon.

Related projects

  • freedesktop.org pkg-config is the original implementation and compatibility reference.
  • libpkgconf exposes pkgconf functionality to other developer tools.
  • bomtool and spdxtool generate SPDX-family software bills of materials from pkg-config module graphs.
  • Meson is the recommended upstream build system; Muon is supported for bootstrap environments.

Sources

  • Official project site: https://pkgconf.org/
  • Official release history: https://github.com/pkgconf/pkgconf/blob/main/NEWS
  • Official repository and README: https://github.com/pkgconf/pkgconf
  • Package adoption evidence: source_facts.package-manager

approval gates

Human review metadata for risky commands

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.

Example gated actions

  • Print compiler or linker flags derived from package metadata.
  • Add caller-supplied package metadata search paths.
  • Use environment-controlled package metadata search paths.

executables

Installed executables

CommandKindExposureNote
bomtoolcliglobal executable
pccriticcliglobal executable
pkg-configcliglobal executable
pkgconfcliglobal executable
spdxtoolcliglobal executable

freshness

Version and 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.

page generated2026-09-19
manager version3.0.7
manager updated2026-09-10
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/pkgconf/pkgconf

install metadata

Package metadata

Package keybrew:pkgconf
Version3.0.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pkgconf
Homepagehttps://github.com/pkgconf/pkgconf
Repositoryhttps://github.com/pkgconf/pkgconf
LicenseISC
Source archivehttps://distfiles.ariadne.space/pkgconf/pkgconf-3.0.6.tar.xz
Last updated2026-09-10T05:50:10Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepkgconf
Aliases
  • pkg-config
  • pkgconfig
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libpkgconf-dev 1.8.1-4

development files for pkgconf

http://pkgconf.org/

sudo apt install libpkgconf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pkgconf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpkgconf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpkgconf3 1.8.1-4

shared library for pkgconf

http://pkgconf.org/

sudo apt install libpkgconf3
  • Section: libs
  • Architecture: amd64
  • Source Package: pkgconf
  • 1 dependencies
  • normalized package name match
  • Matched by: Pkgconf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpkgconf3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pkg-config 1.8.1-4

manage compile and link flags for libraries (transitional package)

http://pkgconf.org/

sudo apt install pkg-config
  • Section: devel
  • Architecture: amd64
  • Source Package: pkgconf
  • 1 dependencies
  • normalized package name match
  • Matched by: Pkgconf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pkg-config from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pkgconf 1.8.1-4

manage compile and link flags for libraries

http://pkgconf.org/

sudo apt install pkgconf
  • Section: devel
  • Architecture: amd64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pkgconf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pkgconf-bin 1.8.1-4

manage compile and link flags for libraries (binaries)

http://pkgconf.org/

sudo apt install pkgconf-bin
  • Section: devel
  • Architecture: amd64
  • Source Package: pkgconf
  • 2 dependencies
  • normalized package name match
  • Matched by: Pkgconf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pkgconf-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pkgconf

nix profile install nixpkgs#pkgconf
  • normalized package name match
  • Matched by: Pkgconf
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: pkgconf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libpkgconf-dev 1.8.1-2build1

development files for pkgconf

http://pkgconf.org/

sudo apt install libpkgconf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pkgconf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpkgconf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpkgconf3 1.8.1-2build1

shared library for pkgconf

http://pkgconf.org/

sudo apt install libpkgconf3
  • Section: libs
  • Architecture: amd64
  • Source Package: pkgconf
  • 1 dependencies
  • normalized package name match
  • Matched by: Pkgconf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpkgconf3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

pkg-config 1.8.1-2build1

manage compile and link flags for libraries (transitional package)

http://pkgconf.org/

sudo apt install pkg-config
  • Section: devel
  • Architecture: amd64
  • Source Package: pkgconf
  • 1 dependencies
  • normalized package name match
  • Matched by: Pkgconf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pkg-config from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

pkgconf 1.8.1-2build1

manage compile and link flags for libraries

http://pkgconf.org/

sudo apt install pkgconf
  • Section: devel
  • Architecture: amd64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pkgconf from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

pkgconf-bin 1.8.1-2build1

manage compile and link flags for libraries (binaries)

http://pkgconf.org/

sudo apt install pkgconf-bin
  • Section: devel
  • Architecture: amd64
  • Source Package: pkgconf
  • 2 dependencies
  • normalized package name match
  • Matched by: Pkgconf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pkgconf-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

pkgconf 3.0.6-r0

development framework configuration tools

https://github.com/pkgconf/pkgconf

sudo apk add pkgconf
  • License: ISC
  • Architecture: x86_64
  • Source Package: pkgconf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pkgconf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pkgconf-dev 3.0.6-r0

development framework configuration tools (development files)

https://github.com/pkgconf/pkgconf

sudo apk add pkgconf-dev
  • License: ISC
  • Architecture: x86_64
  • Source Package: pkgconf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pkgconf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pkgconf-doc 3.0.6-r0

development framework configuration tools (documentation)

https://github.com/pkgconf/pkgconf

sudo apk add pkgconf-doc
  • License: ISC
  • Architecture: x86_64
  • Source Package: pkgconf
  • normalized package name match
  • Matched by: Pkgconf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pkgconf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

bomtool 2.5.1-2.fc45

Simple SBOM generator using pc(5) files

http://pkgconf.org/

sudo dnf install bomtool
  • License: ISC AND BSD-4-Clause AND BSD-2-Clause AND pkgconf AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pkgconf
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pkgconf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bomtool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

libpkgconf 2.5.1-2.fc45

Backend library for pkgconf

http://pkgconf.org/

sudo dnf install libpkgconf
  • License: ISC AND BSD-4-Clause AND BSD-2-Clause AND pkgconf AND MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: pkgconf
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Pkgconf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpkgconf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • approval-gate seed metadata
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation