Add libvips install info for Debian Jessie #100

This commit is contained in:
Lovell Fuller 2014-10-06 11:27:29 +01:00
parent 37cb4339e2
commit c2fcf7fc4a

View File

@ -45,37 +45,29 @@ The _gettext_ dependency of _libvips_ [can lead](https://github.com/lovell/sharp
brew link gettext --force
### Install libvips on Ubuntu Linux
### Install libvips on Linux
#### Ubuntu 14.x
#### Ubuntu 14.04 LTS
sudo apt-get install libvips-dev
#### Ubuntu 13.x
#### Ubuntu 12.04 LTS
Compiling from source is recommended:
sudo apt-get install automake build-essential git gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev libxml2-dev swig libmagickwand-dev
sudo add-apt-repository -y ppa:lyrasis/precise-backports
sudo apt-get update
sudo apt-get install -y automake build-essential git gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff4-dev libexif-dev libxml2-dev swig libmagickwand-dev
git clone https://github.com/jcupitt/libvips.git
cd libvips
git checkout 7.38
git checkout 7.40
./bootstrap.sh
./configure --enable-debug=no --enable-cxx=yes --without-python --without-orc --without-fftw
make
sudo make install
sudo ldconfig
#### Ubuntu 12.x
#### Debian Jessie
Requires `libtiff4-dev` instead of `libtiff5-dev` and has [a bug](https://bugs.launchpad.net/ubuntu/+source/libwebp/+bug/1108731) in the libwebp package. Work around these problems by running these commands first:
sudo add-apt-repository ppa:lyrasis/precise-backports
sudo apt-get update
sudo apt-get install libtiff4-dev
Then follow Ubuntu 13.x instructions.
### Install libvips on Redhat/Centos Linux
apt-get install libvips-dev
#### Centos 6