# Installer woff2 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 woff2 pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:woff2
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install woff2
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install woff2
```

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

### Linux

- apk (92%):

```sh
sudo apk add woff2
```

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

- Debian apt (92%):

```sh
sudo apt install woff2
```

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

- dnf (92%):

```sh
sudo dnf install woff2
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#woff2
```

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

- pacman (92%):

```sh
sudo pacman -S woff2
```

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

- zypper (92%):

```sh
sudo zypper install woff2
```

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

## Faits du paquet

- **Clé du paquet:** brew:woff2
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.0.2
- **Résumé source:** Utilities to create and convert Web Open Font File (WOFF) files
- **Page d'accueil:** <https://github.com/google/woff2>
- **Dépôt:** <https://github.com/google/woff2>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- woff2_compress (alias)
- woff2_decompress (alias)
- woff2_info (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.0.2
## Historique du projet et usages

WOFF2 is both a W3C web-font packaging standard and, in package-manager form, Google's reference C++ encoder/decoder utilities for the format. The format improves on WOFF 1.0 by combining font-aware preprocessing with Brotli compression so web fonts can be transferred more compactly while remaining suitable for CSS @font-face deployment.

### Historique du projet

The W3C publication history records WOFF2's First Public Working Draft on 8 May 2014, Working Draft in 2015, Candidate Recommendation Snapshot in 2016, Proposed Recommendation in January 2018, and Recommendation on 1 March 2018, with later Recommendation updates in 2021, 2022, and 2024. The current W3C Recommendation says WOFF2 was developed from experience with widely deployed WOFF 1.0 and was designed to reduce network bandwidth while keeping decompression fast enough for mobile devices.

Google's woff2 repository was created in October 2014 and provides the font compression reference code. Its README separates the Brotli reference code from the C++ font compression and decompression code, and the repository's releases show 1.0.0 and 1.0.1 in October 2017 followed by 1.0.2 in November 2017, just before the format reached W3C Recommendation status.

### Historique d'adoption

WOFF2 moved from an optimization experiment into the default web-font format because it could be deployed alongside WOFF 1.0 in normal CSS. The W3C Evaluation Report explained that @font-face can list WOFF2 first and WOFF as a fallback without user-agent sniffing, and the current Recommendation states that WOFF2 is implemented in all major browsers and widely used on production websites.

The format's adoption was tied to measurable compression gains. The W3C Evaluation Report found Brotli-based WOFF2 had median gains of about 23.94% over WOFF1 on the Google Fonts TrueType corpus and 26.79% on an Adobe TrueType corpus, while keeping memory and decompression cost within the constraints needed for web deployment.

### Modes d'utilisation

Package users normally run woff2_compress to convert TTF or OTF fonts into .woff2 files, woff2_decompress to round-trip them back to OpenType/SFNT data, and woff2_info to inspect the package. Web developers then reference .woff2 files from CSS @font-face rules, often with older formats as fallbacks only when legacy browser support is required.

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

The package is important because it gives distributions a small, standalone implementation of a core web platform format. It is used by font build pipelines, web asset optimizers, browser tests, and packaging workflows that need reproducible conversion between OpenType fonts and the compressed format browsers actually fetch.

### Chronologie

- 2014: WOFF2 First Public Working Draft published by W3C and Google's woff2 repository created.
- 2016: WOFF 2.0 Evaluation Report published as a W3C Working Group Note, comparing compression candidates and deployment constraints.
- 2017: Google woff2 1.0.x releases published.
- 2018: WOFF2 became a W3C Recommendation.
- 2024: W3C published an updated WOFF2 Recommendation and implementation report material.

### Related projects

- WOFF 1.0 is WOFF2's predecessor and remains the fallback format in many historical CSS examples.
- Brotli is the entropy-coding layer used by WOFF2; the W3C Recommendation records Google's royalty-free licensing commitment for Brotli use in the specification.
- FontTools implements WOFF2 support in Python and is listed in the W3C implementation report alongside Google's C++ woff2 implementation.

### Sources

- <https://api.github.com/repos/google/woff2>
- <https://api.github.com/repos/google/woff2/releases?per_page=100>
- <https://github.com/google/woff2>
- <https://w3c.github.io/woff/woff2/ImpRpt/>
- <https://www.w3.org/Fonts/WG/WOFF2ER/>
- <https://www.w3.org/TR/WOFF2/>
- <https://www.w3.org/standards/history/WOFF2/>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libwoff-dev - 1.0.2-2+b2: normalized package name match | Debian stable package indexes: libwoff-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for converting fonts to WOFF 2.0 - development files | https://github.com/google/woff2
- Debian apt - libwoff1 - 1.0.2-2+b2: normalized package name match | Debian stable package indexes: libwoff1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for converting fonts to WOFF 2.0 | https://github.com/google/woff2
- Debian apt - woff2 - 1.0.2-2+b2: normalized package name match | Debian stable package indexes: woff2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utilities for converting fonts to WOFF 2.0 | https://github.com/google/woff2
- Nix - woff2: normalized package name match | nixpkgs package indexes: pkgs/by-name/wo/woff2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libwoff-dev - 1.0.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwoff-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for converting fonts to WOFF 2.0 - development files | https://github.com/google/woff2
- Ubuntu apt - libwoff1 - 1.0.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libwoff1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for converting fonts to WOFF 2.0 | https://github.com/google/woff2
- Ubuntu apt - woff2 - 1.0.2-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: woff2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utilities for converting fonts to WOFF 2.0 | https://github.com/google/woff2
- apk - libwoff2common - 1.0.2-r4: normalized package name match | Alpine Linux edge package indexes: libwoff2common from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Web Open Font Format 2 reference implementation (common library) | https://github.com/google/woff2
- apk - libwoff2dec - 1.0.2-r4: normalized package name match | Alpine Linux edge package indexes: libwoff2dec from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Web Open Font Format 2 reference implementation (encoder library) | https://github.com/google/woff2
- apk - libwoff2enc - 1.0.2-r4: normalized package name match | Alpine Linux edge package indexes: libwoff2enc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Web Open Font Format 2 reference implementation (decoder library) | https://github.com/google/woff2
- apk - woff2 - 1.0.2-r4: normalized package name match | Alpine Linux edge package indexes: woff2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Web Open Font Format 2 reference implementation | https://github.com/google/woff2
- apk - woff2-dev - 1.0.2-r4: normalized package name match | Alpine Linux edge package indexes: woff2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Web Open Font Format 2 reference implementation (development files) | https://github.com/google/woff2
- dnf - woff2 - 1.0.2-26.fc45: normalized package name match | Fedora Rawhide package metadata: woff2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Web Open Font Format 2.0 library | https://github.com/google/woff2
- dnf - woff2-devel - 1.0.2-26.fc45: normalized package name match | Fedora Rawhide package metadata: woff2-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for woff2 | https://github.com/google/woff2
- dnf - woff2-tools - 1.0.2-26.fc45: normalized package name match | Fedora Rawhide package metadata: woff2-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Web Open Font Format 2.0 tools | https://github.com/google/woff2
- pacman - woff2 - 1.0.2-6: normalized package name match | Arch Linux sync databases: woff2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Web Open Font Format 2 reference implementation | https://github.com/google/woff2


## Combined YAML source

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


## Sources

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