View this package for all Ubuntu releases →

How to install python3-brotli in Ubuntu 20.04 (focal)

lossless compression algorithm and format (Python 3 version)

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

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

Packages

Package Size Built
python3-brotli_1.0.7-6ubuntu0.1+gps1+ubuntu2004+stable_amd64 265 KiB 2026-11-05
python3-brotli_1.0.7-6ubuntu0.1+gps1+ubuntu2004+stable_arm64 257 KiB 2026-11-05

Subscribe