GetPageSpeed Extras

python-brotli

How to install python-brotli on Amazon Linux

Lossless compression algorithm (python 2)

License: MIT https://github.com/google/brotli

Availability

Distro aarch64 noarch x86_64 Version
Amazon Linux 2023
Amazon Linux 2012.03 1.0.7
Amazon Linux 2

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 2 module.

Built for Amazon Linux.

Install

python-brotli on Amazon Linux 2012.03

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install python-brotli

Package downloads require an active GetPageSpeed subscription — one repository for python-brotli and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install python-brotli on Amazon Linux?

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

Which Amazon Linux versions is python-brotli available for?

python-brotli is available for Amazon Linux 2012.03.

Subscribe