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

Package compiler and linker metadata toolkit. Version 2.5.1 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:pkgconf
```

## 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.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install pkgconf
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pkgconf
```

  Evidence: MacPorts ports tree: devel/pkgconf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add pkgconf
```

  Evidence: Alpine Linux edge package indexes: pkgconf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libpkgconf-dev
```

  Evidence: Debian stable package indexes: libpkgconf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install bomtool
```

  Evidence: Fedora Rawhide package metadata: bomtool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#pkgconf
```

  Evidence: nixpkgs package indexes: pkgconf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S pkgconf
```

  Evidence: Arch Linux sync databases: pkgconf from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libpkgconf-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libpkgconf-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/pkg-config
```

  Evidence: Scoop official bucket manifest trees: bucket/pkg-config.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:pkgconf
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/pkgconf>
- **Version:** 2.5.1
- **Source summary:** Package compiler and linker metadata toolkit
- **Homepage:** <https://github.com/pkgconf/pkgconf>
- **Repository:** <https://github.com/pkgconf/pkgconf>
- **Upstream docs:** <https://github.com/pkgconf/pkgconf#readme>
- **License:** ISC
- **Source archive:** <https://distfiles.ariadne.space/pkgconf/pkgconf-2.5.1.tar.xz>
- **Last updated:** 2026-07-01T13:34:57-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- bomtool (cli)
- pkg-config (cli)
- pkgconf (cli)
- bomtool (alias)
- pkg-config (alias)
- pkgconf (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sequoia, sonoma, tahoe, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.5.1
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/pkgconf/pkgconf
- info: No cached GitHub release or tag data was available.

## Security Notes

narrow compiler metadata query tool.

- **Geiger risk:** green / high
- narrow compiler metadata query tool
- **Approval gate rules:** 3

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** pkgconf
- **Aliases:** pkg-config, pkgconfig
- **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:** head, stable

## Other Package-Manager Records

- Debian apt - libpkgconf-dev - 1.8.1-4: normalized package name match | Debian stable package indexes: libpkgconf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development files for pkgconf | http://pkgconf.org/
- Debian apt - libpkgconf3 - 1.8.1-4: normalized package name match | Debian stable package indexes: libpkgconf3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | shared library for pkgconf | http://pkgconf.org/
- Debian apt - pkg-config - 1.8.1-4: normalized package name match | Debian stable package indexes: pkg-config from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | manage compile and link flags for libraries (transitional package) | http://pkgconf.org/
- Debian apt - pkgconf - 1.8.1-4: normalized package name match | Debian stable package indexes: pkgconf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | manage compile and link flags for libraries | http://pkgconf.org/
- Debian apt - pkgconf-bin - 1.8.1-4: normalized package name match | Debian stable package indexes: pkgconf-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | manage compile and link flags for libraries (binaries) | http://pkgconf.org/
- Nix - pkgconf: normalized package name match | nixpkgs package indexes: pkgconf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libpkgconf-dev - 1.8.1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libpkgconf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | development files for pkgconf | http://pkgconf.org/
- Ubuntu apt - libpkgconf3 - 1.8.1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libpkgconf3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | shared library for pkgconf | http://pkgconf.org/
- Ubuntu apt - pkg-config - 1.8.1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: pkg-config from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | manage compile and link flags for libraries (transitional package) | http://pkgconf.org/
- Ubuntu apt - pkgconf - 1.8.1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: pkgconf from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | manage compile and link flags for libraries | http://pkgconf.org/
- Ubuntu apt - pkgconf-bin - 1.8.1-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: pkgconf-bin from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | manage compile and link flags for libraries (binaries) | http://pkgconf.org/
- apk - pkgconf - 2.5.1-r0: normalized package name match | Alpine Linux edge package indexes: pkgconf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | development framework configuration tools | https://gitea.treehouse.systems/ariadne/pkgconf
- apk - pkgconf-dev - 2.5.1-r0: normalized package name match | Alpine Linux edge package indexes: pkgconf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | development framework configuration tools (development files) | https://gitea.treehouse.systems/ariadne/pkgconf
- apk - pkgconf-doc - 2.5.1-r0: normalized package name match | Alpine Linux edge package indexes: pkgconf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | development framework configuration tools (documentation) | https://gitea.treehouse.systems/ariadne/pkgconf
- dnf - bomtool - 2.5.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: bomtool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Simple SBOM generator using pc(5) files | http://pkgconf.org/
- dnf - libpkgconf - 2.5.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: libpkgconf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Backend library for pkgconf | http://pkgconf.org/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [amtterm](https://www.automicvault.com/pkg/brew/amtterm/) - Popular package that depends on this formula.
- [aqbanking](https://www.automicvault.com/pkg/brew/aqbanking/) - Popular package that depends on this formula.
- [chapel](https://www.automicvault.com/pkg/brew/chapel/) - Popular package that depends on this formula.
- [crystal](https://www.automicvault.com/pkg/brew/crystal/) - Popular package that depends on this formula.
- [czkawka](https://www.automicvault.com/pkg/brew/czkawka/) - Popular package that depends on this formula.
- [dub](https://www.automicvault.com/pkg/brew/dub/) - Popular package that depends on this formula.
- [gobject-introspection](https://www.automicvault.com/pkg/brew/gobject-introspection/) - Popular package that depends on this formula.
- [guile](https://www.automicvault.com/pkg/brew/guile/) - Popular package that depends on this formula.
- [pkg-config-wrapper](https://www.automicvault.com/pkg/brew/pkg-config-wrapper/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, pkg-config.
- [strip-nondeterminism](https://www.automicvault.com/pkg/brew/strip-nondeterminism/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, metadata.
- [colormake](https://www.automicvault.com/pkg/brew/colormake/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [compiledb](https://www.automicvault.com/pkg/brew/compiledb/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [crosstool-ng](https://www.automicvault.com/pkg/brew/crosstool-ng/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [lazymake](https://www.automicvault.com/pkg/brew/lazymake/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [shtool](https://www.automicvault.com/pkg/brew/shtool/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [aarch64-elf-binutils](https://www.automicvault.com/pkg/brew/aarch64-elf-binutils/) - Shares av.db curated category or tags: build-tools, cli, developer-tools.
- [add-determinism](https://www.automicvault.com/pkg/brew/add-determinism/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/pkgconf.yml](https://github.com/automic-vault/db/blob/main/combined/pkgconf.yml)


## Sources

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