Friday, January 18, 2013

ubuntu command to install zlib library


Downloading


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


Extracting files


tar -xvzf zlib-1.2.3.tar.gz

cd zlib-1.2.3

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

make

sudo make install

1 comment:

  1. Can you pls also post command to run and execute example.c in zlib?
    TIA

    ReplyDelete