GetPageSpeed Extras

zlib-ng

How to install zlib-ng on Amazon Linux

Drop-in replacement of zlib with massive performance improvements

License: zlib Vendor: GetPageSpeed LLC https://github.com/zlib-ng/zlib-ng

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
Amazon Linux 2023 Base 2.3.3
Amazon Linux 2 Base 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

Base Amazon Linux 2, 2023

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/mo

Frequently 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.

Subscribe