pkg.soopen package index

brew / 审批门 / 排名 19

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 pkgconf

查看 pkgconf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

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.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pkgconf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install pkgconf

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add pkgconf

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

Debian apt已验证 · 92%
sudo apt install pkgconf

Debian stable package indexes · pkgconf · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install pkgconf

Fedora Rawhide package metadata · pkgconf · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#pkgconf

nixpkgs package indexes · pkgconf · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S pkgconf

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

openSUSE zypper已验证 · 92%
sudo zypper install pkgconf

openSUSE Tumbleweed package metadata · pkgconf · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/pkgconf

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

Windows Package Manager已验证 · 92%
winget install --id pkgconf.pkgconf -e

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

概览

软件包摘要

Package compiler and linker metadata toolkit

命令和别名

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

历史

项目历史与用法

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.

时间线

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

来源

  • 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

审批门

高风险命令的人工审核元数据

本地审批门种子包含 3 条适用于 pkgconf 的规则。覆盖的入口点:pkg-config, pkgconf。严重级别:低, 中。覆盖状态:partial,审核于 2026-05-21。

受控操作示例

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bomtoolcli全局可执行文件
pccriticcli全局可执行文件
pkg-configcli全局可执行文件
pkgconfcli全局可执行文件
spdxtoolcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本3.0.7
管理器更新时间2026-09-10
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/pkgconf/pkgconf

安装元数据

软件包元数据

软件包键brew:pkgconf
版本3.0.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/pkgconf
主页https://github.com/pkgconf/pkgconf
仓库https://github.com/pkgconf/pkgconf
许可证ISC
源码归档https://distfiles.ariadne.space/pkgconf/pkgconf-3.0.6.tar.xz
最后更新2026-09-10T05:50:10Z
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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