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

Package compiler and linker metadata toolkit. Version 3.0.5 via Homebrew; verified 2026-08-02. Also installable with debian: sudo apt install libpkgconf-dev.

## 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 pkgconf
```

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

- dnf (92%):

```sh
sudo dnf install pkgconf
```

  Evidence: Fedora Rawhide package metadata: pkgconf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 pkgconf
```

  Evidence: openSUSE Tumbleweed package metadata: pkgconf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/pkgconf
```

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

- winget (92%):

```sh
winget install --id pkgconf.pkgconf -e
```

  Evidence: Windows Package Manager source index: pkgconf.pkgconf from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:pkgconf
- **Package manager:** Homebrew
- **Version:** 3.0.5
- **Source summary:** Package compiler and linker metadata toolkit
- **Homepage:** <https://github.com/pkgconf/pkgconf>
- **Repository:** <https://github.com/pkgconf/pkgconf>
- **Last updated:** 2026-08-02T18:51:38Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- bomtool (alias)
- pccritic (alias)
- pkg-config (alias)
- pkgconf (alias)
- spdxtool (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.0.5

## Security Notes

narrow compiler metadata query tool.

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

## 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 - 3.0.5-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://github.com/pkgconf/pkgconf
- apk - pkgconf-dev - 3.0.5-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://github.com/pkgconf/pkgconf
- apk - pkgconf-doc - 3.0.5-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://github.com/pkgconf/pkgconf
- dnf - bomtool - 2.5.1-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Simple SBOM generator using pc(5) files | http://pkgconf.org/
- dnf - libpkgconf - 2.5.1-2.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Backend library for pkgconf | http://pkgconf.org/


## Combined YAML source

View the package source record on GitHub. [combined/pkgconf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/pkgconf.yml)


## Sources

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