# Install freetype with Homebrew, apk, apt, dnf, MacPorts, Nix

Software library to render fonts. Version 2.14.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install freetype
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install freetype
```

  Evidence: 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
```

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

- Debian apt (92%):

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

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

- dnf (92%):

```sh
sudo dnf install freetype
```

  Evidence: Fedora Rawhide package metadata: freetype from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#freetype
```

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

## Package facts

- **Package key:** brew:freetype
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/freetype>
- **Version:** 2.14.3
- **Source summary:** Software library to render fonts
- **Homepage:** <https://www.freetype.org/>
- **Repository:** <https://gitlab.freedesktop.org/freetype/freetype>
- **Upstream docs:** <https://freetype.org/freetype2/docs/documentation.html>
- **License:** FTL
- **Source archive:** <https://downloads.sourceforge.net/project/freetype/freetype2/2.14.3/freetype-2.14.3.tar.xz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

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

## Dependencies

- libpng

## Build dependencies

- pkgconf

## Uses from macOS

- bzip2

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 2.14.3
- Local data: ok
- Upstream repository: https://www.freetype.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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


## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- 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-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A free and portable font rendering engine | http://www.freetype.org
- dnf - freetype-demos - 2.14.3-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A collection of FreeType demos | http://www.freetype.org


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [libpng](https://www.automicvault.com/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [aider](https://www.automicvault.com/pkg/brew/aider/) - Popular package that depends on this formula.
- [arx-libertatis](https://www.automicvault.com/pkg/brew/arx-libertatis/) - Popular package that depends on this formula.
- [autotrace](https://www.automicvault.com/pkg/brew/autotrace/) - Popular package that depends on this formula.
- [c10t](https://www.automicvault.com/pkg/brew/c10t/) - Popular package that depends on this formula.
- [cairo](https://www.automicvault.com/pkg/brew/cairo/) - Popular package that depends on this formula.
- [cataclysm](https://www.automicvault.com/pkg/brew/cataclysm/) - Popular package that depends on this formula.
- [ccextractor](https://www.automicvault.com/pkg/brew/ccextractor/) - Popular package that depends on this formula.
- [graphite2](https://www.automicvault.com/pkg/brew/graphite2/) - Shares av.db curated category or tags: cli, font-rendering, fonts, media, typography.
- [eot-utils](https://www.automicvault.com/pkg/brew/eot-utils/) - Shares av.db curated category or tags: cli, fonts, media.
- [font-util](https://www.automicvault.com/pkg/brew/font-util/) - Shares av.db curated category or tags: cli, fonts, media.
- [fontconfig](https://www.automicvault.com/pkg/brew/fontconfig/) - Shares av.db curated category or tags: cli, fonts, media.
- [fontforge](https://www.automicvault.com/pkg/brew/fontforge/) - Shares av.db curated category or tags: cli, fonts, media.
- [mftrace](https://www.automicvault.com/pkg/brew/mftrace/) - Shares av.db curated category or tags: cli, fonts, media.
- [psftools](https://www.automicvault.com/pkg/brew/psftools/) - Shares av.db curated category or tags: cli, fonts, media.
- [little-cms2](https://www.automicvault.com/pkg/brew/little-cms2/) - Shares av.db curated category or tags: c-library, cli, graphics, media.

## Combined YAML source

View the package source record on GitHub. [combined/freetype.yml](https://github.com/automic-vault/db/blob/main/combined/freetype.yml)


## Sources

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