Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 zopfli

查看 zopfli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install zopfli

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install zopfli

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add zopfli

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

Debian apt已验证 · 92%
sudo apt install zopfli

Debian stable package indexes · zopfli · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install zopfli

Fedora Rawhide package metadata · zopfli · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#zopfli

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

Arch Linux pacman已验证 · 92%
sudo pacman -S zopfli

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

openSUSE zypper已验证 · 92%
sudo zypper install zopfli

openSUSE Tumbleweed package metadata · zopfli · 来源: download.opensuse.org

概览

软件包摘要

New zlib (gzip, deflate) compatible compressor

命令和别名

  • zopfli
  • zopflipng

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:compress

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
zopflicli全局可执行文件
zopflipngcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.0.3
管理器更新时间2026-07-10
本地数据OK
上游当前
检测到的最新版本zopfli-1.0.3

https://github.com/google/zopfli

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:zopfli
版本1.0.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/zopfli
主页https://github.com/google/zopfli
仓库https://github.com/google/zopfli
上游文档https://github.com/google/zopfli#readme
许可证Apache-2.0
源码归档https://github.com/google/zopfli/archive/refs/tags/zopfli-1.0.3.tar.gz
最后更新2026-07-10T09:36:36-04:00
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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