Automic VaultAutomic Vault

brew

Install zopfli with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

New zlib (gzip, deflate) compatible compressor. Version 1.0.3 via Homebrew; verified 2026-05-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zopfli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install zopfli

MacPorts ports tree · archivers/zopfli/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add zopfli

Alpine Linux edge package indexes · zopfli · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libzopfli-dev

Debian stable package indexes · libzopfli-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install zopfli

Fedora Rawhide package metadata · zopfli · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#zopfli

nixpkgs package indexes · pkgs/by-name/zo/zopfli/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S zopfli

Arch Linux sync databases · zopfli · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libzopfli-devel

openSUSE Tumbleweed package metadata · libzopfli-devel · source: download.opensuse.org

overview

Package summary

New zlib (gzip, deflate) compatible compressor

Commands and aliases

  • zopfli
  • zopflipng

history

Project history and usage

Zopfli is Google's deliberately slow, very dense Deflate-compatible compressor. It matters because its output can be read by ordinary gzip, zlib, ZIP, PNG, and HTTP Deflate consumers, making it a packageable optimization step rather than a new compression format users must support.

Project history

Google announced Zopfli in February 2013 as an open-source implementation of Deflate designed to produce smaller output than previous techniques. The name came from a Swiss bread recipe, but the engineering idea was serious: spend much more CPU time during compression while keeping decompression speed and compatibility unchanged.

The GitHub project describes Zopfli as a C compression library for very good but slow Deflate or zlib compression, created by Lode Vandevenne and Jyrki Alakuijala and based on Alakuijala's algorithm. The repository also contains the zopfli CLI and zopflipng, a PNG optimizer built around the same Deflate search.

Adoption history

Zopfli spread first through web-performance and asset-optimization workflows, where build time is cheaper than bandwidth. Because it emits standard Deflate streams, users could precompress static assets and serve them through existing HTTP and archive tooling without changing client decompression support.

ZopfliPNG extended the same idea into image optimization: PNG files already use Deflate internally, so better Deflate choices can shrink files without changing the image format. That made the package especially interesting to people tuning websites, fonts, archives, and static downloadable assets.

How it is used

The zopfli executable is best used offline: compress a file once, keep the smaller gzip/zlib/deflate result, and let normal clients decompress it. It is usually a poor choice for live request-time compression because the whole point is spending extra CPU to find a smaller representation.

zopflipng is the companion CLI for PNGs. It tries Zopfli Deflate plus PNG-specific filter and color choices, and it may remove ancillary chunks that are not needed for typical web rendering, so visual checks and metadata awareness matter when using it in asset pipelines.

Why package nerds care

Zopfli is a perfect package-nerd tool because it is small, sharp, and intentionally asymmetric: slow compression, standard decompression. It rewards users who understand build artifacts, static hosting, and the difference between a file format and an encoder.

It also sits in a recognizable Google compression lineage with Brotli and later web-compression work, but unlike Brotli it did not ask the ecosystem to adopt a new wire format. That compatibility is why it still shows up as a practical CLI package.

Timeline

  • 2013: Google announces Zopfli as an open-source, Deflate-compatible compressor optimized for smaller output.
  • 2013: The reference implementation is published in C by Lode Vandevenne and Jyrki Alakuijala.
  • 2013: ZopfliPNG appears as a PNG optimization tool using Zopfli compression for PNG Deflate streams.
  • 2010s: Zopfli becomes a build-time optimization option for static web assets, archives, PNGs, and other Deflate-based formats.
  • 2015: Brotli appears as a related Google compression project aimed at a newer web compression format rather than Deflate compatibility.

Related projects

  • zlib: the ubiquitous Deflate implementation whose output compatibility made Zopfli practical.
  • gzip and ZIP: container formats that can benefit from better Deflate streams.
  • zopflipng: the PNG optimizer shipped with the Zopfli project.
  • Brotli: a later Google compression format with stronger web adoption but different compatibility tradeoffs.
  • AdvanceCOMP and OxiPNG: PNG/archive optimization tools in the neighboring lossless-compression niche.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
zopflicliglobal executable
zopflipngcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.0.3
manager updated2026-05-19
local dataok
upstreamcurrent
latest detectedzopfli-1.0.3

https://github.com/google/zopfli

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:zopfli
Version1.0.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zopfli
Homepagehttps://github.com/google/zopfli
Repositoryhttps://github.com/google/zopfli
Upstream docshttps://github.com/google/zopfli#readme
LicenseApache-2.0
Source archivehttps://github.com/google/zopfli/archive/refs/tags/zopfli-1.0.3.tar.gz
Last updated2026-05-19T07:53:37-04:00
Pulseupdated
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezopfli
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libzopfli-dev 1.0.3-3

Header and static library files for libzopfli1

https://github.com/google/zopfli

sudo apt install libzopfli-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zopfli
  • 1 dependencies
  • normalized package name match
  • Matched by: Zopfli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzopfli-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzopfli1 1.0.3-3

zlib (gzip, deflate) compatible compressor - shared library

https://github.com/google/zopfli

sudo apt install libzopfli1
  • Section: libs
  • Architecture: amd64
  • Source Package: zopfli
  • 3 dependencies
  • normalized package name match
  • Matched by: Zopfli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzopfli1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

zopfli 1.0.3-3

zlib (gzip, deflate) compatible compressor

https://github.com/google/zopfli

sudo apt install zopfli
  • Section: utils
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Zopfli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: zopfli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zopfli

nix profile install nixpkgs#zopfli
  • normalized package name match
  • Matched by: Zopfli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zo/zopfli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libzopfli-dev 1.0.3-2

Header and static library files for libzopfli1

https://github.com/google/zopfli

sudo apt install libzopfli-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: zopfli
  • 1 dependencies
  • normalized package name match
  • Matched by: Zopfli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzopfli-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libzopfli1 1.0.3-2

zlib (gzip, deflate) compatible compressor - shared library

https://github.com/google/zopfli

sudo apt install libzopfli1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: zopfli
  • 3 dependencies
  • normalized package name match
  • Matched by: Zopfli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libzopfli1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

zopfli 1.0.3-2

zlib (gzip, deflate) compatible compressor

https://github.com/google/zopfli

sudo apt install zopfli
  • Section: universe/utils
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Zopfli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: zopfli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

zopfli 1.0.3_git20260213-r0

Compression algorithm library

https://github.com/fonttools/zopfli

sudo apk add zopfli
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zopfli
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zopfli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zopfli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zopfli-dev 1.0.3_git20260213-r0

Compression algorithm library (development files)

https://github.com/fonttools/zopfli

sudo apk add zopfli-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zopfli
  • 1 dependencies
  • normalized package name match
  • Matched by: Zopfli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zopfli-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

zopfli-doc 1.0.3_git20260213-r0

Compression algorithm library (documentation)

https://github.com/fonttools/zopfli

sudo apk add zopfli-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: zopfli
  • normalized package name match
  • Matched by: Zopfli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: zopfli-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

zopfli 1.0.3-15.fc44

Zlib compatible better compressor

https://github.com/google/zopfli

sudo dnf install zopfli
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zopfli
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Zopfli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zopfli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

zopfli-devel 1.0.3-15.fc44

Development files for zopfli and zopflipng.

https://github.com/google/zopfli

sudo dnf install zopfli-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: zopfli
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Zopfli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: zopfli-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

zopfli 1.0.3-4

Compression algorithm library

https://github.com/google/zopfli

sudo pacman -S zopfli
  • License: Apache
  • Architecture: x86_64
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Zopfli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: zopfli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libzopfli-devel 1.0.3-2.9

Header files for libzopfli, a gzip-compatible compressor

https://github.com/google/zopfli

sudo zypper install libzopfli-devel
  • License: Apache-2.0
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: zopfli
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Zopfli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzopfli-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libzopfli1 1.0.3-2.9

Deflate/zlib compatible compression library

https://github.com/google/zopfli

sudo zypper install libzopfli1
  • License: Apache-2.0
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: zopfli
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Zopfli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzopfli1 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libzopfli1-x86-64-v3 1.0.3-2.9

Deflate/zlib compatible compression library

https://github.com/google/zopfli

sudo zypper install libzopfli1-x86-64-v3
  • License: Apache-2.0
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: zopfli
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Zopfli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libzopfli1-x86-64-v3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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