zlib Introduction
Zlib is a library of functions for data compression, developed by Jean-loup Gailly and Mark Adler, and published on May 1, 1995 in the first edition of version 0.9. Zlib uses the DEFLATE algorithm, originally written for the Libpng function library, and later widely used by many software. This library is free software and uses zlib authorization. As of March 2007, Zlib was an open source project that was included in Coverity's U.S. Department of Homeland Security sponsor's choice to continue the review.
Zlib installation
Environment: Linux (CentOS 7.4)
1, download, official website: http://www.zlib.net/, this example uses version: Zlib-1.2.11.tar.gz
2, Decompression:tar-zxvf zlib-1.2.11.tar.gz
3. Go to unzip directory, configure Ruby installation parameters, command:./configure--prefix=/data/soft/zlib-1.2.11
4, compile, command: make
5, installation, command: Makeinstall
6. Add to System Configuration
Create file, command:vim/etc/ld.so.conf.d/zlib.conf
Fill in the contents (installation path for zlib):/data/soft/zlib-1.2.11
7. Load configuration, execute command:ldconfig
After the above steps, the zlib installation is complete!
"Linux" Zlib installation