# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, scoop 安装 guetzli

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

## 安装

```sh
sudo av install brew:guetzli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install guetzli
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install guetzli
```

  证据: MacPorts ports tree: graphics/guetzli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add guetzli
```

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

- Debian apt (92%):

```sh
sudo apt install guetzli
```

  证据: Debian stable package indexes: guetzli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#guetzli
```

  证据: nixpkgs package indexes: pkgs/by-name/gu/guetzli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S guetzli
```

  证据: Arch Linux sync databases: guetzli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/guetzli
```

  证据: Scoop official bucket manifest trees: bucket/guetzli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:guetzli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/guetzli>
- **版本:** 1.0.1
- **来源摘要:** Perceptual JPEG encoder
- **主页:** <https://github.com/google/guetzli>
- **仓库:** <https://github.com/google/guetzli>
- **上游文档:** <https://github.com/google/guetzli#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/google/guetzli/archive/refs/tags/v1.0.1.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- guetzli (cli)
- guetzli (别名)

## 依赖

- libpng

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.0.1
- 本地数据: OK
- 上游仓库: https://github.com/google/guetzli
- 检测到的最新版本: v1.0.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Guetzli is Google's perceptual JPEG encoder for producing smaller sequential JPEG files at high visual quality. It belongs to the same family of format-compatible compression experiments as Zopfli: spend more CPU time during encoding while keeping output compatible with existing decoders.

### 项目历史

Google announced Guetzli as open source on 2017-03-16. The announcement described it as a JPEG encoder for digital images and web graphics that targeted file-size reductions while remaining compatible with existing browsers, image-processing applications, and the JPEG standard.

The repository README says Guetzli-generated images are typically 20-30 percent smaller than libjpeg images of equivalent quality, and that Guetzli emits sequential, non-progressive JPEGs. The implementation uses a psychovisual approach focused on quantization decisions, with Butteraugli-related perceptual modeling present in the repository.

### 采用历史

Guetzli was quickly packaged because it offered an easy experiment for web image optimization: a single CLI that reads PNG or JPEG input and writes optimized JPEG output. The official README documents Homebrew and MacPorts installation paths, and the input metadata records packaging across Alpine, Homebrew, Debian, MacPorts, Nix, Arch, Scoop, and Ubuntu.

Its adoption was bounded by cost. The README warns that it uses about 300 MB of memory per megapixel and roughly one minute of CPU per megapixel, making it better suited to offline asset pipelines than interactive image conversion.

### 使用方式

The CLI usage is direct: `guetzli [--quality Q] [--verbose] original.png output.jpg` or the same with JPEG input. The README recommends high-quality, preferably uncompressed input and notes that PNG alpha is flattened onto black because JPEG has no alpha channel.

Guetzli assumes sRGB input with gamma 2.2 and ignores color-profile metadata. That assumption is important in package notes because it affects whether the tool is appropriate for a given image workflow.

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

Guetzli is a package-nerd favorite because it embodies a clear tradeoff: excellent density for legacy JPEGs, paid for with CPU and memory. It is a compact command-line artifact from a major research organization, easy to package, easy to benchmark, and easy to compare against libjpeg, MozJPEG, Zopfli, WebP, JPEG XL, and later Jpegli work.

Google's later Jpegli announcement explicitly places newer JPEG work in relation to earlier Guetzli-style heuristics, making Guetzli part of the historical path from high-effort JPEG optimization toward faster modern JPEG-compatible encoders.

### 时间线

- 2017-03-16: Google Open Source Blog announces Guetzli.
- 2017-03-21: GitHub release metadata shows the release series around the public launch window.
- 2017: README documents POSIX, Windows, macOS, Homebrew, MacPorts, and Bazel build paths.
- 2024: Google's Jpegli announcement discusses faster heuristics developed after earlier Guetzli-style approaches.

### Related projects

- Guetzli is related to libjpeg, MozJPEG, Butteraugli, Zopfli, WebP, JPEG XL, Brunsli, and Jpegli. Its distinguishing trait is staying inside the legacy JPEG format while using a slower perceptual search to improve compression density.

### 来源

- <https://github.com/google/guetzli>
- <https://opensource.googleblog.com/2017/03/guetzli-new-open-source-jpeg-encoder.html>
- <https://opensource.googleblog.com/2024/04/introducing-jpegli-new-jpeg-coding-library.html>
- <https://raw.githubusercontent.com/google/guetzli/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - guetzli - 1.0.1-2: normalized package name match | Debian stable package indexes: guetzli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | perceptual JPEG encoder | https://github.com/google/guetzli
- Nix - guetzli: normalized package name match | nixpkgs package indexes: pkgs/by-name/gu/guetzli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - guetzli - 1.0.1-1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: guetzli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | perceptual JPEG encoder | https://github.com/google/guetzli
- apk - guetzli - 0_git20191025-r3: normalized package name match | Alpine Linux edge package indexes: guetzli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Perceptual JPEG encoder that aims for excellent compression density at high visual quality | https://github.com/google/guetzli
- apk - guetzli-dev - 0_git20191025-r3: normalized package name match | Alpine Linux edge package indexes: guetzli-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Perceptual JPEG encoder that aims for excellent compression density at high visual quality (development files) | https://github.com/google/guetzli
- pacman - guetzli - 1.0.1-5: normalized package name match | Arch Linux sync databases: guetzli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Perceptual JPEG encoder | https://github.com/google/guetzli
- MacPorts - guetzli: normalized package name match | MacPorts ports tree: graphics/guetzli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/guetzli: normalized package name match | Scoop official bucket manifest trees: bucket/guetzli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/zh-hans/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libpng](https://www.automicvault.com/zh-hans/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [caesiumclt](https://www.automicvault.com/zh-hans/pkg/brew/caesiumclt/) - Shares av.db curated category or tags: cli, image-compression, media.
- [minidjvu](https://www.automicvault.com/zh-hans/pkg/brew/minidjvu/) - Shares av.db curated category or tags: cli, image-compression, media.
- [jbig2enc](https://www.automicvault.com/zh-hans/pkg/brew/jbig2enc/) - Shares av.db curated category or tags: cli, encoder, image-compression, media.
- [jpeg-archive](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-archive/) - Shares av.db curated category or tags: cli, image-compression, jpeg, media.
- [jpeg-xl](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-xl/) - Shares av.db curated category or tags: cli, encoder, image-compression, media.
- [aften](https://www.automicvault.com/zh-hans/pkg/brew/aften/) - Shares av.db curated category or tags: cli, encoder, media.
- [darkice](https://www.automicvault.com/zh-hans/pkg/brew/darkice/) - Shares av.db curated category or tags: cli, encoder, media.
- [djvulibre](https://www.automicvault.com/zh-hans/pkg/brew/djvulibre/) - Shares av.db curated category or tags: cli, encoder, media.
- [grokj2k](https://www.automicvault.com/zh-hans/pkg/brew/grokj2k/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compression, image, image-compression, jpeg.
- [libavif](https://www.automicvault.com/zh-hans/pkg/brew/libavif/) - Both packages work with overlapping file formats or content types. Shared terms: cli, encoder, image, jpeg, libpng.

## Combined YAML source

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


## 来源

- 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
