How to install zopfli on Amazon Linux
Zlib compatible better compressor
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | ✓ | — | ✓ | 1.0.3 |
| Amazon Linux 2012.03 | — | — | ✓ | 1.0.3 |
| Amazon Linux 2 | ✓ | — | ✓ | 1.0.3 |
Description
Zopfli is a compression algorithm bit-stream compatible with compression used in gzip, Zip, PNG, HTTP requests, and others. Zopfli compresses more (~5%) but is slower (~100x) and uses more CPU, and is hence best suited for applications where data is compressed once and sent over a network many times, for example, static content for the web.
Built for Amazon Linux.
Install
zopfli on Amazon Linux 2, 2012.03, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install zopfli
Package downloads require an active GetPageSpeed subscription — one repository for zopfli and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install zopfli on Amazon Linux?
Add the GetPageSpeed repository, then install the zopfli package with your system package manager.
Which Amazon Linux versions is zopfli available for?
zopfli is available for Amazon Linux 2, 2012.03, 2023.