February 2018
Beginner to intermediate
348 pages
9h 40m
English
The zlib library provides developers with compression algorithms. It is required for the use of .gzip compression in various modules of Nginx. Again, you can use your package manager to install this component as it is part of the default repositories. Similar to PCRE, you will need both the library and its source-zlib and zlib-devel.
Using yum, execute the following command:
[root@example.com ~]# yum install zlib zlib-devel
Using apt-get, execute the following command:
[root@example.com ~]# apt-get install zlib1g zlib1g-dev
These packages install quickly and have no known dependency issues.