How to install zlib-ng on Amazon Linux
Drop-in replacement of zlib with massive performance improvements
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | ✓ | — | ✓ | 2.3.3 |
| Amazon Linux 2012.03 | — | — | — | |
| Amazon Linux 2 | ✓ | — | ✓ | 2.3.3 |
Description
zlib-ng is a zlib replacement with optimizations for "next generation" systems. It is a drop-in replacement (ZLIB_COMPAT mode) for the standard zlib library, providing substantial performance improvements through SIMD acceleration (SSE2/SSSE3/SSE4/AVX2/AVX512 on x86_64; NEON on aarch64) and modern deflate/inflate strategies. This package installs into an isolated directory and uses ld.so.conf.d to take precedence over the system zlib at runtime, without replacing it on disk. Existing installs of the deprecated intel-zlib and cloudflare-zlib packages are obsoleted on upgrade.
Built for Amazon Linux.
Install
zlib-ng on Amazon Linux 2, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install zlib-ng
Package downloads require an active GetPageSpeed subscription — one repository for zlib-ng and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install zlib-ng on Amazon Linux?
Add the GetPageSpeed repository, then install the zlib-ng package with your system package manager.
Which Amazon Linux versions is zlib-ng available for?
zlib-ng is available for Amazon Linux 2, 2023.