"Linux" Zlib installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.