Install Python Imaging Library PIL on Linux server

Python Imaging Library (PIL)

Make sure Python is installed.

Prerequisites.

If you need any of the features described below, make sure you
have the necessary libraries before building PIL.

feature library
—————————————————————–
JPEG support libjpeg (6a or 6b)

http://www.ijg.org

http://www.ijg.org/files/jpegsrc.v6b.tar.gz

ftp://ftp.uu.net/graphics/jpeg/PNG support zlib (1.1.4 or later is recommended)

http://www.gzip.org/zlib/

OpenType/TrueType freetype2 (2.1.3 or later is recommended)
support
http://www.freetype.org

http://freetype.sourceforge.net

Installation

Make sure Python is installed.

Then go for

wget http://effbot.org/downloads/Imaging-1.1.6.tar.gz
tar -zxf Imaging-1.1.6.tar.gz
cd Imaging-1.1.6/


python setup.py install