我要评分
获取效率
正确性
完整性
易理解

Installing zlib

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Decompress the zlib installation package.
    tar -xzvf zlib-1.2.11.tar.gz
  3. Go to the directory generated after the decompression.
    cd zlib-1.2.11
  4. Perform the configuration.
    ./configure --prefix=/path/to/ZLIB
  5. Perform the compilation and installation.
    make -j 64
    make install
  6. Load the zlib environment variables.
    export LD_LIBRARY_PATH=/path/to/ZLIB/lib:$LD_LIBRARY_PATH