프로그래밍

zlib download and install

Subi Lee 2009. 9. 4.
반응형
  • Downloading zlib:

    Run the command below,

    wget http://www.zlib.net/zlib-1.2.3.tar.gz

  • Extracting files from the downloaded package:

    tar -xvzf zlib-1.2.3.tar.gz

    Now, enter the directory where the package is extracted.

    cd zlib-1.2.3

  • Configuring zlib Library:

    ./configure --prefix=/usr/local/zlib

    Replace "/usr/local/zlib" above with the directory path where you want to copy the files and folders. Note: check for any error message.
  • Compiling zlib:

    make

    Note: check for any error message.

  • Installing zlib:

    As root (for privileges on destination directory), run the following.

    With sudo,

    sudo make install

    Without sudo,

    make install

    Note: check for any error messages.

That’s it. Library has bee successfully installed.

반응형

댓글