Aston J

How to install Vips on CentOS

Posted on: September 7th, 2012 by AstonJ 3 Comments

Vips is a brilliant new image processing library that is reported to be far more efficient than most other image processing libraries out there (such as ImageMagick). To install on CentOS simply:

Get the latest files from, eg:


Then unpack:

tar -xzvf vips-7.30.2.tar.gz

Then cd into the directory:

cd vips-7.30.2

Then enter ./configure and look for any dependency errors, for me I needed to install glib2, which I did with:

yum install glib2-devel

Then ./configure again, and look out for any warnings. If you see something like:

checking for PNG... no
checking for libpng... libraries (none), headers (none)
configure: WARNING: libpng not found; disabling PNG support

Simply do: yum install libpng-devel for all those that you need.

Once you are happy to proceed, enter:



make install

And that’s it!


Tags: , , , ,
  • John Smith

    Thanks for the tut, but how can I get the vips command-line interface to work?

  • John Smith

    Nevermind, it works, but it just installs to `/usr/local/bin`.

  • xShirase

    Awesome, got here from the github issue which got you to write this tut, saved me a few hours!