How to install brotli on Ubuntu

lossless compression algorithm and format (command line utility)

Vendor: Ubuntu Developers https://github.com/google/brotli

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel amd64 arm64 Version
Ubuntu 20.04 (focal) Base 1.0.7
Ubuntu 18.04 (bionic) Base 1.0.3

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.

Built for Ubuntu.

Install

Base Ubuntu 18.04, 20.04

brotli on Ubuntu 18.04 (bionic), 20.04 (focal)

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

Package downloads require an active GetPageSpeed subscription — one repository for brotli and thousands more packages for Ubuntu.

Subscribe — from $10/mo

Other releases and channels: use the setup wizard.

Frequently asked questions

How do I install brotli on Ubuntu?

Add the GetPageSpeed repository, then install the brotli package with your system package manager.

Which Ubuntu versions is brotli available for?

brotli is available for Ubuntu 18.04, 20.04.

Subscribe