# Installer freetype avec Homebrew, apk, dnf, MacPorts, Nix, apt

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

## installation

```sh
sudo av install brew:freetype
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install freetype
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install freetype
```

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

### Linux

- apk (92%):

```sh
sudo apk add freetype
```

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

- dnf (92%):

```sh
sudo dnf install freetype
```

  Preuve: Fedora Rawhide package metadata: freetype 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#freetype
```

  Preuve: nixpkgs package indexes: pkgs/by-name/fr/freetype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install freetype2-demos
```

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

## Faits du paquet

- **Clé du paquet:** brew:freetype
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/freetype>
- **Version:** 2.14.3
- **Résumé source:** Software library to render fonts
- **Page d'accueil:** <https://www.freetype.org/>
- **Docs amont:** <https://www.freetype.org/>
- **Licence:** FTL
- **Archive source:** <https://downloads.sourceforge.net/project/freetype/freetype2/2.14.3/freetype-2.14.3.tar.xz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- freetype-config (cli)
- freetype-config (alias)

## Dépendances

- libpng

## Dépendances de compilation

- pkgconf

## Bibliothèques fournies par macOS

- bzip2

## 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.14.3
- données locales: OK
- dépôt amont: https://www.freetype.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

FreeType is a portable C library for rendering fonts, especially vector and bitmap font formats. It is a foundational graphics dependency: users rarely invoke it directly, but desktop stacks, browsers, games, document renderers, and toolkits depend on the library to turn fonts into glyph images.

### Historique du projet

The official history says David Turner created FreeType in 1996 to render TrueType fonts, including a TrueType bytecode interpreter. Robert Wilhelm ported it to C in 1997, Werner Lemberg joined the team, and the Pascal version ended development in 2000.

FreeType 2.0 was released in 2000 after beta releases as a complete modular rewrite. It added support for multiple font formats, including PostScript fonts, improved gray-level rendering, and glyph image and metrics caching.

The project later narrowed its scope around 2004 to creating rasterized glyph images, leaving text shaping and layout to higher-level libraries such as ICU and HarfBuzz. In 2009 the repository moved from CVS to git, and Werner Lemberg became the sole maintainer with outside contributions.

### Historique d'adoption

FreeType 1 influenced OS/2 and TeX tooling through FreeType/2 and ttf2pk, according to the official history. FreeType 2's narrower rendering focus made it a durable low-level dependency rather than a complete text-layout engine.

Its adoption is visible through its role as a tiny, efficient, portable renderer used by other software rather than as an end-user program. The README emphasizes portability, customization, and high-quality output across most vector and bitmap font formats.

### Modes d'utilisation

Developers use FreeType through its C API to load font faces, inspect glyph metrics, rasterize glyph images, and integrate font rendering into larger graphics or document pipelines. The official documentation includes glyph conventions, a tutorial, API reference, design notes, and hinting documentation.

Packaged FreeType usually exposes headers, libraries, freetype-config for legacy build integration, and documentation. It does not have a normal user config file or credential store.

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

FreeType is one of the archetypal invisible dependencies; upgrading it can affect font rendering across a whole system. Package maintainers care about ABI stability, optional rendering features, patent-era historical choices around hinting, and coordination with HarfBuzz and graphics stacks.

Its history also explains an important Unix packaging boundary: FreeType renders glyphs, while shaping and layout live elsewhere. That division is why FreeType and HarfBuzz so often travel together in dependency graphs.

### Chronologie

- 1996: David Turner created FreeType to render TrueType fonts.
- 1997: Robert Wilhelm ported FreeType to C and Werner Lemberg joined the team.
- 2000: FreeType 2.0 released as a modular rewrite; Pascal version development stopped.
- 2004: Project scope narrowed to rasterized glyph images, leaving shaping and layout to libraries above FreeType.
- 2009: Source repository migrated from CVS to git; Werner Lemberg became the only maintainer.
- 2026: FreeType 2.14.3 README identifies the current project as a small, efficient, customizable, portable C font rendering library.

### Related projects

- HarfBuzz is the shaping library explicitly referenced by the official history as a better layer above FreeType for text shaping.
- ICU is also named by the official history as a higher-level library for text layout concerns.
- ttf2pk and FreeType/2 are historical FreeType 1 related projects highlighted by the official history.

### Sources

- <https://freetype.org/freetype2/docs/documentation.html>
- <https://freetype.org/history.html>
- <https://gitlab.freedesktop.org/freetype/freetype>
- <https://gitlab.freedesktop.org/freetype/freetype/-/raw/master/README>
- <https://gitlab.freedesktop.org/freetype/freetype/-/tags/VER-2-0>
- <https://gitlab.freedesktop.org/freetype/freetype/-/tags/VER-2-14-3>


## Notes de sécurité

library-like package without higher-risk signals.

- **Risque Geiger:** vert / faible
- library-like package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** freetype
- **Aliases:** freetype2
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - freetype2-demos - 2.13.3+dfsg-1+deb13u1: normalized package name match | Debian stable package indexes: freetype2-demos from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FreeType 2 demonstration programs | https://freetype.org
- Debian apt - freetype2-doc - 2.13.3+dfsg-1+deb13u1: normalized package name match | Debian stable package indexes: freetype2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FreeType 2 font engine, development documentation | https://freetype.org
- Debian apt - libfreetype-dev - 2.13.3+dfsg-1+deb13u1: normalized package name match | Debian stable package indexes: libfreetype-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FreeType 2 font engine, development files | https://freetype.org
- Debian apt - libfreetype6 - 2.13.3+dfsg-1+deb13u1: normalized package name match | Debian stable package indexes: libfreetype6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FreeType 2 font engine, shared library files | https://freetype.org
- Nix - freetype: normalized package name match | nixpkgs package indexes: pkgs/by-name/fr/freetype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - freetype2-demos - 2.13.2+dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: freetype2-demos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | FreeType 2 demonstration programs | https://freetype.org
- Ubuntu apt - freetype2-doc - 2.13.2+dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: freetype2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | FreeType 2 font engine, development documentation | https://freetype.org
- Ubuntu apt - libfreetype-dev - 2.13.2+dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libfreetype-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | FreeType 2 font engine, development files | https://freetype.org
- Ubuntu apt - libfreetype6 - 2.13.2+dfsg-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libfreetype6 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | FreeType 2 font engine, shared library files | https://freetype.org
- apk - freetype - 2.14.3-r0: normalized package name match | Alpine Linux edge package indexes: freetype from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | TrueType font rendering library | https://www.freetype.org/
- apk - freetype-demos - 2.14.3-r0: normalized package name match | Alpine Linux edge package indexes: freetype-demos from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A collection of FreeType demos | https://www.freetype.org/
- apk - freetype-dev - 2.14.3-r0: normalized package name match | Alpine Linux edge package indexes: freetype-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | TrueType font rendering library (development files) | https://www.freetype.org/
- apk - freetype-doc - 2.14.3-r0: normalized package name match | Alpine Linux edge package indexes: freetype-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | TrueType font rendering library (documentation) | https://www.freetype.org/
- apk - freetype-static - 2.14.3-r0: normalized package name match | Alpine Linux edge package indexes: freetype-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | TrueType font rendering library (static library) | https://www.freetype.org/
- dnf - freetype - 2.14.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: freetype from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A free and portable font rendering engine | http://www.freetype.org
- dnf - freetype-demos - 2.14.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: freetype-demos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A collection of FreeType demos | http://www.freetype.org


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow 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.
- [Homebrew utility packages](https://pkg.so/fr/brew-utility-packages/) - Matched Homebrew package provider.
- [libpng](https://pkg.so/fr/brew/libpng/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/fr/brew/pkgconf/) - Build dependency declared by Homebrew.
- [harfbuzz](https://pkg.so/fr/brew/harfbuzz/) - Popular package that depends on this formula.
- [fontconfig](https://pkg.so/fr/brew/fontconfig/) - Popular package that depends on this formula.
- [pango](https://pkg.so/fr/brew/pango/) - Popular package that depends on this formula.
- [imagemagick](https://pkg.so/fr/brew/imagemagick/) - Popular package that depends on this formula.
- [cairo](https://pkg.so/fr/brew/cairo/) - Popular package that depends on this formula.
- [openjdk](https://pkg.so/fr/brew/openjdk/) - 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.
- [little-cms2](https://pkg.so/fr/brew/little-cms2/) - Shares pkgdb curated category or tags: c-library, cli, graphics, media.
- [graphite2](https://pkg.so/fr/brew/graphite2/) - Shares pkgdb curated category or tags: cli, font-rendering, media, typography.
- [msdf-atlas-gen](https://pkg.so/fr/brew/msdf-atlas-gen/) - Shares pkgdb curated category or tags: cli, fonts, graphics, media.
- [giflib](https://pkg.so/fr/brew/giflib/) - Shares pkgdb curated category or tags: c-library, cli, media.
- [openjpeg](https://pkg.so/fr/brew/openjpeg/) - Shares pkgdb curated category or tags: c-library, cli, media.
- [efl](https://pkg.so/fr/brew/efl/) - Local package facts share a topical domain. Shared terms: cli, freetype, graphics, libpng, media.

## Combined YAML source

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


## Sources

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