"zlib is designed to be a
free,
general-purpose, legally unencumbered -- that is, not covered by any
patents -- lossless data-compression library for use on virtually any computer
hardware and operating system."
If this library isn't already installed or available as a
package for your platform, you can get it at:
https://www.gzip.org/zlib/.