Before starting: Make sure you have the necessary folders and permissions — get more information.

Links: Homepage
Dependencies: None
Version: 4.0.8

LibTIFF is a library and utilities for manipulating TIFF images.

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 tiff-VERSION.tar.gz
cd tiff-VERSION

Compile and Install

Configure, compile and install into /usr/local/mac-dev-env/libtiff-VERSION.

./configure --prefix=/usr/local/mac-dev-env/libtiff-VERSION
make install

Create a symbolic link to /usr/local/libtiff.

ln -s mac-dev-env/libtiff-VERSION /usr/local/libtiff