# Installer fontconfig avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fontconfig pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:fontconfig
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install fontconfig
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fontconfig
```

  Preuve: MacPorts ports tree: graphics/fontconfig/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add fontconfig
```

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

- Debian apt (92%):

```sh
sudo apt install fontconfig
```

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

- dnf (92%):

```sh
sudo dnf install fontconfig
```

  Preuve: Fedora Rawhide package metadata: fontconfig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#fontconfig
```

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

- pacman (92%):

```sh
sudo pacman -S fontconfig
```

  Preuve: Arch Linux sync databases: fontconfig from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fontconfig
```

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

## Faits du paquet

- **Clé du paquet:** brew:fontconfig
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/fontconfig>
- **Version:** 2.18.2
- **Résumé source:** XML-based font configuration API for X Windows
- **Page d'accueil:** <https://wiki.freedesktop.org/www/Software/fontconfig/>
- **Docs amont:** <https://wiki.freedesktop.org/www/Software/fontconfig/>
- **Licence:** HPND-sell-variant AND Unicode-3.0 AND MIT-Modern-Variant AND MIT AND LicenseRef-Homebrew-public-domain
- **Archive source:** <https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/2.18.2/fontconfig-2.18.2.tar.gz>
- **Dernière mise à jour:** 2026-07-29T17:23:24+01:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- fc-cache (cli)
- fc-cat (cli)
- fc-conflist (cli)
- fc-genconf (cli)
- fc-list (cli)
- fc-match (cli)
- fc-pattern (cli)
- fc-query (cli)
- fc-scan (cli)
- fc-validate (cli)
- fc-cache (alias)
- fc-cat (alias)
- fc-conflist (alias)
- fc-genconf (alias)
- fc-list (alias)
- fc-match (alias)
- fc-pattern (alias)
- fc-query (alias)
- fc-scan (alias)
- fc-validate (alias)

## Dépendances

- freetype
- gettext

## Dépendances de compilation

- gettext
- meson
- ninja
- pkgconf

## Bibliothèques fournies par macOS

- expat

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 2.18.2
- gestionnaire mis à jour: 2026-07-29
- données locales: OK
- dépôt amont: https://wiki.freedesktop.org/www/Software/fontconfig/
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://gitlab.freedesktop.org/fontconfig/fontconfig/-/raw/main/README.md>
- <https://wiki.freedesktop.org/www/Software/fontconfig>
- <https://www.freedesktop.org/software/fontconfig/fontconfig-user.html>
- <https://www.freedesktop.org/software/fontconfig/release/>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


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

- 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
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fontconfig
- **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

## Autres enregistrements de gestionnaires de paquets

- Debian apt - fontconfig - 2.15.0-2.3: normalized package name match | Debian stable package indexes: fontconfig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic font configuration library - support binaries | https://www.freedesktop.org/wiki/Software/fontconfig/
- Debian apt - fontconfig-config - 2.15.0-2.3: normalized package name match | Debian stable package indexes: fontconfig-config from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic font configuration library - configuration | https://www.freedesktop.org/wiki/Software/fontconfig/
- Debian apt - libfontconfig-dev - 2.15.0-2.3: normalized package name match | Debian stable package indexes: libfontconfig-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic font configuration library - development | https://www.freedesktop.org/wiki/Software/fontconfig/
- Debian apt - libfontconfig-doc - 2.15.0-2.3: normalized package name match | Debian stable package indexes: libfontconfig-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic font configuration library - documentation | https://www.freedesktop.org/wiki/Software/fontconfig/
- Debian apt - libfontconfig1 - 2.15.0-2.3: normalized package name match | Debian stable package indexes: libfontconfig1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic font configuration library - runtime | https://www.freedesktop.org/wiki/Software/fontconfig/
- Debian apt - libfontconfig1-dev - 2.15.0-2.3: normalized package name match | Debian stable package indexes: libfontconfig1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | generic font configuration library - dummy package | https://www.freedesktop.org/wiki/Software/fontconfig/
- Nix - fontconfig: normalized package name match | nixpkgs package indexes: fontconfig from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - fontconfig - 2.15.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: fontconfig from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | generic font configuration library - support binaries | https://www.freedesktop.org/wiki/Software/fontconfig/
- Ubuntu apt - fontconfig-config - 2.15.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: fontconfig-config from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | generic font configuration library - configuration | https://www.freedesktop.org/wiki/Software/fontconfig/
- Ubuntu apt - libfontconfig-dev - 2.15.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfontconfig-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | generic font configuration library - development | https://www.freedesktop.org/wiki/Software/fontconfig/
- Ubuntu apt - libfontconfig-doc - 2.15.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfontconfig-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | generic font configuration library - documentation | https://www.freedesktop.org/wiki/Software/fontconfig/
- Ubuntu apt - libfontconfig1 - 2.15.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfontconfig1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | generic font configuration library - runtime | https://www.freedesktop.org/wiki/Software/fontconfig/
- Ubuntu apt - libfontconfig1-dev - 2.15.0-1.1ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libfontconfig1-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | generic font configuration library - dummy package | https://www.freedesktop.org/wiki/Software/fontconfig/
- apk - fontconfig - 2.18.1-r0: normalized package name match | Alpine Linux edge package indexes: fontconfig from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for configuring and customizing font access | https://www.freedesktop.org/wiki/Software/fontconfig
- apk - fontconfig-dev - 2.18.1-r0: normalized package name match | Alpine Linux edge package indexes: fontconfig-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for configuring and customizing font access (development files) | https://www.freedesktop.org/wiki/Software/fontconfig
- apk - fontconfig-doc - 2.18.1-r0: normalized package name match | Alpine Linux edge package indexes: fontconfig-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for configuring and customizing font access (documentation) | https://www.freedesktop.org/wiki/Software/fontconfig


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/fr/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/fr/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [gettext](https://pkg.so/fr/brew/gettext/) - Runtime dependency declared by Homebrew.
- [freetype](https://pkg.so/fr/brew/freetype/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/fr/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/fr/brew/meson/) - Build dependency declared by Homebrew.
- [pango](https://pkg.so/fr/brew/pango/) - Popular package that depends on this formula.
- [cairo](https://pkg.so/fr/brew/cairo/) - Popular package that depends on this formula.
- [poppler](https://pkg.so/fr/brew/poppler/) - Popular package that depends on this formula.
- [tesseract](https://pkg.so/fr/brew/tesseract/) - Popular package that depends on this formula.
- [librsvg](https://pkg.so/fr/brew/librsvg/) - Popular package that depends on this formula.
- [graphviz](https://pkg.so/fr/brew/graphviz/) - Popular package that depends on this formula.
- [libbluray](https://pkg.so/fr/brew/libbluray/) - Popular package that depends on this formula.
- [ghostscript](https://pkg.so/fr/brew/ghostscript/) - Popular package that depends on this formula.
- [fontforge](https://pkg.so/fr/brew/fontforge/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [feh](https://pkg.so/fr/brew/feh/) - Shares pkgdb curated category or tags: cli, media, x11.
- [xfig](https://pkg.so/fr/brew/xfig/) - Shares pkgdb curated category or tags: cli, media, x11.
- [font-util](https://pkg.so/fr/brew/font-util/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [mftrace](https://pkg.so/fr/brew/mftrace/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [xplanet](https://pkg.so/fr/brew/xplanet/) - Shares pkgdb curated category or tags: cli, media, x11.
- [eot-utils](https://pkg.so/fr/brew/eot-utils/) - Shares pkgdb curated category or tags: cli, fonts, media.
- [pulseaudio](https://pkg.so/fr/brew/pulseaudio/) - Local package facts share a topical domain. Shared terms: cli, gettext, media.

## Combined YAML source

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


## Sources

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