Skip to content

Install libvips using supported release instead of git source #26

@donlzx

Description

@donlzx

I was install vips on a remote server running Debian linux. At first I was compiling libvips from Git source according to README.md, but it took me a lot of time to download the full Git repo and then fix package dependence issues. It also required installing of many GTK packages, which is a concern for the server.

Later, I found out a better way is to just download the supported libvips release from http://www.vips.ecs.soton.ac.uk/supported/current/. Install only a small number of packages and everything was OK. And this method works for both Debian and Ubuntu linux.

Install packages for Ubuntu:

sudo apt-get install build-essential libjpeg-turbo8-dev libpng12-dev

Install packages for Debian:

sudo apt-get install build-essential libjpeg62-turbo-dev libpng12-dev

Make and install libvips

wget http://www.vips.ecs.soton.ac.uk/supported/current/vips-8.0.2.tar.gz
tar xf vips-8.0.2.tar.gz
cd vips-8.0.2

./configure --enable-debug=no --without-python --without-fftw --without-libexif \
  --without-libgf --without-little-cms --without-orc --without-pango --prefix=/usr
make
sudo make install
sudo ldconfig

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions