Table of Contents

Installing zlib

TruffleRuby provides the zlib module but not the native zlib system library that the module uses.

RedHat-based: Fedora, Oracle Linux, etc

sudo dnf install zlib-devel

Debian-based: Ubuntu, etc

sudo apt-get install libz-dev

macOS

On macOS the system version can be used.