How to install libbrotli-dev on Ubuntu

library implementing brotli encoder and decoder (development files)

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 development files.

Built for Ubuntu.

Install

Base Ubuntu 18.04, 20.04

libbrotli-dev 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 libbrotli-dev

Package downloads require an active GetPageSpeed subscription — one repository for libbrotli-dev 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 libbrotli-dev on Ubuntu?

Add the GetPageSpeed repository, then install the libbrotli-dev package with your system package manager.

Which Ubuntu versions is libbrotli-dev available for?

libbrotli-dev is available for Ubuntu 18.04, 20.04.

Subscribe