凭据访问
Reads local package config and environment paths, not secrets by default.
代理安全
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.
安装
brew install pkgconflocal Homebrew formula metadata
sudo port install pkgconfMacPorts ports tree · devel/pkgconf/Portfile · 来源: api.github.com
sudo apk add pkgconfAlpine Linux edge package indexes · pkgconf · 来源: dl-cdn.alpinelinux.org
sudo apt install pkgconfDebian stable package indexes · pkgconf · 来源: deb.debian.org
sudo dnf install pkgconfFedora Rawhide package metadata · pkgconf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#pkgconfnixpkgs package indexes · pkgconf · 来源: raw.githubusercontent.com
sudo pacman -S pkgconfArch Linux sync databases · pkgconf · 来源: geo.mirror.pkgbuild.com
sudo zypper install pkgconfopenSUSE Tumbleweed package metadata · pkgconf · 来源: download.opensuse.org
scoop install main/pkgconfScoop official bucket manifest trees · bucket/pkgconf.json · 来源: api.github.com
winget install --id pkgconf.pkgconf -eWindows Package Manager source index · pkgconf.pkgconf · 来源: cdn.winget.microsoft.com
概览
Package compiler and linker metadata toolkit
历史
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.
审批门
本地审批门种子包含 3 条适用于 pkgconf 的规则。覆盖的入口点:pkg-config, pkgconf。严重级别:低, 中。覆盖状态:partial,审核于 2026-05-21。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bomtool | cli | 全局可执行文件 | |
pccritic | cli | 全局可执行文件 | |
pkg-config | cli | 全局可执行文件 | |
pkgconf | cli | 全局可执行文件 | |
spdxtool | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 libpkgconf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.