Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 brotli

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install brotli

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install brotli

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

Linux

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

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

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

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

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

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

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

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

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

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

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

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

Windows

Scoop已验证 · 92%
scoop install main/brotli

Scoop official bucket manifest trees · bucket/brotli.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Google.Brotli -e

Windows Package Manager source index · Google.Brotli · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Generic-purpose lossless compression algorithm by Google

命令和别名

  • brotli

历史

项目历史与用法

Brotli is Google's general-purpose lossless compression format and reference implementation. It became especially important on the web through the `br` HTTP content coding and through WOFF2 font compression, making the Homebrew `brotli` CLI both a developer utility and a packaging handle for a web-platform primitive.

项目历史

Google announced Brotli as an open-source compression algorithm in September 2015, positioning it as a successor in spirit to Zopfli but with a new data format rather than Deflate compatibility. The announcement credited the format's density to context modeling, entropy-code reuse, a larger sliding window, and a static dictionary, and noted that the name means small bread in Swiss German.

The IETF published RFC 7932 in July 2016 as the authoritative specification for the Brotli compressed data format. The RFC defines a lossless format using LZ77 and Huffman coding, notes that the format is independent of CPU and operating system, registers the `br` HTTP content coding, and records Brotli as an integral part of WOFF 2.0.

采用历史

Brotli adoption moved quickly from Google's open-source release into browser and server infrastructure. Chrome Platform Status tracks the `Accept-Encoding: br` feature for HTTPS connections, and RFC 7932's IANA registration made `br` the standard content-coding token.

Package-manager adoption is unusually broad because Brotli is both an end-user CLI and a build/runtime dependency for web servers, language bindings, font pipelines, browsers, and package ecosystems. The input package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, Winget, and openSUSE packages.

使用方式

The command-line tool compresses and decompresses files, while the library is used by HTTP servers, CDNs, browsers, package managers, build systems, and font tooling. In web deployment, Brotli is commonly used for precompressed static assets or dynamic HTTPS responses advertised with `Content-Encoding: br`.

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

Brotli is package-nerd catnip because it is a tiny-looking formula with enormous transitive significance: installable as one CLI, but embedded in the web stack as a standard content coding. It is also a reminder that compression tools are not just archivers; they become protocol features, browser compatibility questions, build-pipeline knobs, and distro security-maintenance surfaces.

时间线

  • 2013: Google publishes Zopfli, the Deflate-compatible predecessor cited in the Brotli announcement.
  • 2015-09-22: Google announces and open-sources Brotli.
  • 2016: Chrome Platform Status tracks `Accept-Encoding: br` for HTTPS connections.
  • 2016-07: RFC 7932 publishes the Brotli compressed data format and registers the `br` HTTP content coding.
  • 2020s: Brotli is packaged broadly across Unix, Windows, and language ecosystems.

Related projects

  • Related compression projects include Zopfli, zlib/Deflate/gzip, zstd, LZMA/xz, bzip2, libdeflate, and WOFF2 tooling. Brotli's closest historical sibling is Zopfli, while its web-deployment peer is gzip and its modern compression peer is often zstd.

安全态势

风险级别: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 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/google/brotli

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:brotli
版本1.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/brotli
主页https://github.com/google/brotli
仓库https://github.com/google/brotli
上游文档https://github.com/google/brotli#readme
许可证MIT
源码归档https://github.com/google/brotli/archive/refs/tags/v1.2.0.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

brotli 1.1.0-2+b7

lossless compression algorithm and format (command line utility)

https://github.com/google/brotli

sudo apt install brotli
  • Section: utils
  • Architecture: amd64
  • Source Package: brotli
  • 2 依赖
  • normalized package name match
  • 匹配方式:Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: brotli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbrotli-dev 1.1.0-2+b7

library implementing brotli encoder and decoder (development files)

https://github.com/google/brotli

sudo apt install libbrotli-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: brotli
  • 1 依赖
  • normalized package name match
  • 匹配方式:Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbrotli-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libbrotli1 1.1.0-2+b7

library implementing brotli encoder and decoder (shared libraries)

https://github.com/google/brotli

sudo apt install libbrotli1
  • Section: libs
  • Architecture: amd64
  • Source Package: brotli
  • 1 依赖
  • normalized package name match
  • 匹配方式:Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libbrotli1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-brotli 1.1.0-2+b7

lossless compression algorithm and format (Python 3 version)

https://github.com/google/brotli

sudo apt install python3-brotli
  • Section: python
  • Architecture: amd64
  • Source Package: brotli
  • 2 依赖
  • normalized package name match
  • 匹配方式:Brotli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-brotli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

brotli

nix profile install nixpkgs#brotli
  • normalized package name match
  • 匹配方式:Brotli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/br/brotli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

brotli 1.1.0-2build2

lossless compression algorithm and format (command line utility)

https://github.com/google/brotli

sudo apt install brotli
  • Section: universe/python
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: brotli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libbrotli-dev 1.1.0-2build2

library implementing brotli encoder and decoder (development files)

https://github.com/google/brotli

sudo apt install libbrotli-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: brotli
  • 1 依赖
  • normalized package name match
  • 匹配方式:Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbrotli-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libbrotli1 1.1.0-2build2

library implementing brotli encoder and decoder (shared libraries)

https://github.com/google/brotli

sudo apt install libbrotli1
  • Section: libs
  • Architecture: amd64
  • Source Package: brotli
  • 1 依赖
  • normalized package name match
  • 匹配方式:Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libbrotli1 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

python3-brotli 1.1.0-2build2

lossless compression algorithm and format (Python 3 version)

https://github.com/google/brotli

sudo apt install python3-brotli
  • Section: universe/python
  • Architecture: amd64
  • Source Package: brotli
  • 2 依赖
  • normalized package name match
  • 匹配方式:Brotli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-brotli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

brotli 1.2.0-r1

Generic lossless compressor

https://github.com/google/brotli

sudo apk add brotli
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-dev 1.2.0-r1

Generic lossless compressor (development files)

https://github.com/google/brotli

sudo apk add brotli-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-doc 1.2.0-r1

Generic lossless compressor (documentation)

https://github.com/google/brotli

sudo apk add brotli-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-libs 1.2.0-r1

Generic lossless compressor (libraries)

https://github.com/google/brotli

sudo apk add brotli-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

brotli-static 1.2.0-r1

Generic lossless compressor (static library)

https://github.com/google/brotli

sudo apk add brotli-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: brotli-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-brotli 1.2.0-r1

Generic lossless compressor (python bindings)

https://github.com/google/brotli

sudo apk add py3-brotli
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-brotli from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

py3-brotli-pyc 1.2.0-r1

Precompiled Python bytecode for py3-brotli

https://github.com/google/brotli

sudo apk add py3-brotli-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: brotli
  • 1 依赖
  • normalized package name match
  • 匹配方式:Brotli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: py3-brotli-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 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