Links: Homepage
Dependencies: None
Version: 9a

Free library for JPEG image compression.

Get the Code

Switch to /usr/local/src and download the source package.

cd /usr/local/src
curl --remote-name

Extract the archive and move into the folder.

tar -xzvf jpegsrc.vVERSION.tar.gz
cd jpeg-VERSION

Compile and Install

Configure, compile and install into /usr/local/libjpeg-VERSION.

./configure --prefix=/usr/local/libjpeg-VERSION
make install

Create a symbolic link that points /usr/local/libjpeg to /usr/local/libjpeg-VERSION.

ln -s libjpeg-VERSION /usr/local/libjpeg