View this package for all Ubuntu releases →
How to install brotli in Ubuntu 20.04 (focal)
lossless compression algorithm and format (command line utility)
Install
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo apt-get update sudo apt-get install -y brotli
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. This package installs a command line utility.
Packages
| Package | Size | Built |
|---|---|---|
| brotli_1.0.7-6ubuntu0.1+gps1+ubuntu2004+stable_amd64 | 264 KiB | 2026-11-05 |
| brotli_1.0.7-6ubuntu0.1+gps1+ubuntu2004+stable_arm64 | 255 KiB | 2026-11-05 |