How to install python3-brotli on Ubuntu

lossless compression algorithm and format (Python 3 version)

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 Python 3 module.

Built for Ubuntu.

Install

Base Ubuntu 18.04, 20.04

python3-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 python3-brotli

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

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

Which Ubuntu versions is python3-brotli available for?

python3-brotli is available for Ubuntu 18.04, 20.04.

Subscribe