How to install brotli on Amazon Linux
Lossless compression algorithm
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | — | — | |
| Amazon Linux 2012.03 | — | — | ✓ | 1.0.8 |
| Amazon Linux 2 | — | — | ✓ | 1.0.8 |
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.
Built for Amazon Linux.
Install
brotli on Amazon Linux 2, 2012.03
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install brotli
Package downloads require an active GetPageSpeed subscription — one repository for brotli and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install brotli on Amazon Linux?
Add the GetPageSpeed repository, then install the brotli package with your system package manager.
Which Amazon Linux versions is brotli available for?
brotli is available for Amazon Linux 2, 2012.03.