Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 fontconfig

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install fontconfig

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install fontconfig

MacPorts ports tree · graphics/fontconfig/Portfile · 来源: api.github.com

Linux

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

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

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

XML-based font configuration API for X Windows

命令和别名

  • fc-cache
  • fc-cat
  • fc-conflist
  • fc-genconf
  • fc-list
  • fc-match
  • fc-pattern
  • fc-query
  • fc-scan
  • fc-validate

历史

项目历史与用法

fontconfig is the freedesktop.org font discovery, matching, and configuration library used by Unix-like desktop and application stacks to centralize font access.

项目历史

The freedesktop project page describes fontconfig as a library for configuring and customizing font access. Its README and user documentation emphasize automatic font discovery, font-name substitution, language coverage matching, XML configuration, and cooperation with FreeType and the X Render Extension.

The user documentation explains the core architecture: a configuration module builds internal state from XML files, while a matching module accepts font patterns and returns the nearest matching font. The design goal was to centralize font installation and customization so applications would not each invent private font configuration systems.

采用历史

fontconfig became infrastructure rather than an end-user application. Its value came from being shared by many applications and toolkits, independent of the X Window System, with command-line utilities such as `fc-cache`, `fc-list`, `fc-match`, `fc-query`, and related inspection tools.

The release directory and tag history show a long-running 2.x series, from early `fcpackage` and 2.2-era releases through current stable releases documented on the freedesktop project page.

使用方式

Administrators and users configure fontconfig through XML files such as `/etc/fonts/fonts.conf`, `/etc/fonts/conf.d`, `$XDG_CONFIG_HOME/fontconfig/fonts.conf`, and per-user legacy files. Applications use the library to locate fonts, substitute missing families, and obtain file and rendering metadata.

The command-line tools form a practical maintenance layer: `fc-cache` refreshes caches, `fc-list` enumerates fonts, `fc-match` shows matching decisions, and `fc-query` or `fc-scan` inspect font files.

为什么软件包爱好者会关心

fontconfig is one of the packages that makes desktop Linux font behavior feel coherent. Package maintainers care about it because bad cache handling, misplaced config snippets, or mismatched defaults can affect text rendering across a whole system.

时间线

  • 2000s: Early fontconfig 2.x and `fcpackage` tags appear in the freedesktop release history.
  • 2012: The release directory lists fontconfig 2.10.0.
  • 2018: The release directory lists fontconfig 2.13.0.
  • 2025: The release directory lists fontconfig 2.16.0.
  • 2026: The project page identifies the current stable series as 2.17.1, while repository tags show later 2.18.x tags.

Related projects

  • fontconfig is explicitly related to FreeType and the X Render Extension, and it sits alongside freedesktop.org desktop plumbing used by font-aware applications and toolkits.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • Homebrew 为此 formula 声明了 post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/fonts/fonts.conf/etc/fonts/conf.d$XDG_CONFIG_HOME/fontconfig/fonts.conf$XDG_CONFIG_HOME/fontconfig/conf.d~/.fonts.conf~/.fonts.conf.d

可执行文件

已安装的可执行文件

命令类型暴露范围备注
fc-cachecli全局可执行文件
fc-catcli全局可执行文件
fc-conflistcli全局可执行文件
fc-genconfcli全局可执行文件
fc-listcli全局可执行文件
fc-matchcli全局可执行文件
fc-patterncli全局可执行文件
fc-querycli全局可执行文件
fc-scancli全局可执行文件
fc-validatecli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://wiki.freedesktop.org/www/Software/fontconfig/

安装元数据

软件包元数据

软件包键brew:fontconfig
版本2.18.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/fontconfig
主页https://wiki.freedesktop.org/www/Software/fontconfig/
仓库https://gitlab.freedesktop.org/fontconfig/fontconfig
上游文档https://wiki.freedesktop.org/www/Software/fontconfig
许可证HPND-sell-variant AND Unicode-3.0 AND MIT-Modern-Variant AND MIT AND LicenseRef-Homebrew-public-domain
源码归档https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/2.18.2/fontconfig-2.18.2.tar.gz
最后更新2026-07-10T02:51:01Z
Pulseupdated
依赖freetype, gettext
构建依赖gettext, meson, ninja, pkgconf
macOS 提供的库expat
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install已定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefontconfig
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%

fontconfig 2.15.0-2.3

generic font configuration library - support binaries

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install fontconfig
  • Section: fonts
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Fontconfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fontconfig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

fontconfig-config 2.15.0-2.3

generic font configuration library - configuration

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install fontconfig-config
  • Section: fonts
  • Architecture: amd64
  • Source Package: fontconfig
  • 10 依赖
  • normalized package name match
  • 匹配方式:Fontconfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fontconfig-config from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfontconfig-dev 2.15.0-2.3

generic font configuration library - development

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: fontconfig
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fontconfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfontconfig-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfontconfig-doc 2.15.0-2.3

generic font configuration library - documentation

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig-doc
  • Section: doc
  • Architecture: all
  • Source Package: fontconfig
  • normalized package name match
  • 匹配方式:Fontconfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfontconfig-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfontconfig1 2.15.0-2.3

generic font configuration library - runtime

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig1
  • Section: libs
  • Architecture: amd64
  • Source Package: fontconfig
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fontconfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfontconfig1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfontconfig1-dev 2.15.0-2.3

generic font configuration library - dummy package

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: fontconfig
  • 1 依赖
  • normalized package name match
  • 匹配方式:Fontconfig
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfontconfig1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

fontconfig

nix profile install nixpkgs#fontconfig
  • normalized package name match
  • 匹配方式:Fontconfig
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: fontconfig from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

fontconfig 2.15.0-1.1ubuntu2

generic font configuration library - support binaries

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install fontconfig
  • Section: utils
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Fontconfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fontconfig from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

fontconfig-config 2.15.0-1.1ubuntu2

generic font configuration library - configuration

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install fontconfig-config
  • Section: libs
  • Architecture: amd64
  • Source Package: fontconfig
  • 8 依赖
  • normalized package name match
  • 匹配方式:Fontconfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fontconfig-config from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfontconfig-dev 2.15.0-1.1ubuntu2

generic font configuration library - development

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: fontconfig
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fontconfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfontconfig-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfontconfig-doc 2.15.0-1.1ubuntu2

generic font configuration library - documentation

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig-doc
  • Section: doc
  • Architecture: all
  • Source Package: fontconfig
  • normalized package name match
  • 匹配方式:Fontconfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfontconfig-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfontconfig1 2.15.0-1.1ubuntu2

generic font configuration library - runtime

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig1
  • Section: libs
  • Architecture: amd64
  • Source Package: fontconfig
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fontconfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfontconfig1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfontconfig1-dev 2.15.0-1.1ubuntu2

generic font configuration library - dummy package

https://www.freedesktop.org/wiki/Software/fontconfig/

sudo apt install libfontconfig1-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: fontconfig
  • 1 依赖
  • normalized package name match
  • 匹配方式:Fontconfig
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfontconfig1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

fontconfig 2.17.1-r1

Library for configuring and customizing font access

https://www.freedesktop.org/wiki/Software/fontconfig

sudo apk add fontconfig
  • License: MIT
  • Architecture: x86_64
  • Source Package: fontconfig
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fontconfig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fontconfig from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fontconfig-dev 2.17.1-r1

Library for configuring and customizing font access (development files)

https://www.freedesktop.org/wiki/Software/fontconfig

sudo apk add fontconfig-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: fontconfig
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Fontconfig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fontconfig-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

fontconfig-doc 2.17.1-r1

Library for configuring and customizing font access (documentation)

https://www.freedesktop.org/wiki/Software/fontconfig

sudo apk add fontconfig-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: fontconfig
  • normalized package name match
  • 匹配方式:Fontconfig
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: fontconfig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment