Installing libvips
from source on Ubuntu 18.04 Bionic
wget https://github.com/libvips/libvips/releases/download/v8.8.2/vips-8.8.2.tar.gz
tar -xvf vips-8.8.2.tar.gz
cd vips-8.8.2
./configure
Make sure image loading libraries are installed.
* optional dependencies
use fftw3 for FFT: no
Magick package: MagickCore
Magick API version: magick6
load with libMagick: yes
save with libMagick: yes
accelerate loops with orc: no
(requires orc-0.4.11 or later)
ICC profile support with lcms: yes (lcms2)
file import with niftiio: no
file import with libheif: no
file import with OpenEXR: yes
file import with OpenSlide: no
(requires openslide-3.3.0 or later)
file import with matio: no
PDF import with PDFium no
PDF import with poppler-glib: no
(requires poppler-glib 0.16.0 or later)
SVG import with librsvg-2.0: yes
(requires librsvg-2.0 2.34.0 or later)
zlib: yes
file import with cfitsio: no
file import/export with libwebp: yes
(requires libwebp, libwebpmux, libwebpdemux 0.5.0 or later)
text rendering with pangoft2: no
file import/export with libpng: yes (pkg-config libpng >= 1.2.9)
(requires libpng-1.2.9 or later)
support 8bpp PNG quantisation: no
(requires libimagequant)
file import/export with libtiff: yes (pkg-config libtiff-4)
file import/export with giflib: yes (found by search)
file import/export with libjpeg: yes (pkg-config)
image pyramid export: no
(requires libgsf-1 1.14.26 or later)
use libexif to load/save JPEG metadata: yes
If not:
apt-get install glib2.0-dev build-essential libexpat1-dev libjpeg-dev libpng-dev libwebp-dev libgif-dev libexif-dev imagemagick libmagick++-dev
./configure
Once libraries are installed:
make
vips -v
If necessary, link binary
cd /usr/lib/
ln -s /usr/local/lib/libvips.so.42 libvips.so.42
vips -v