Created
October 22, 2020 17:44
-
-
Save brandoncc/fda9c57b69da86d38a41fd64ba4a36c3 to your computer and use it in GitHub Desktop.
Install libvips on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update && apt-get install -y \ | |
build-essential \ | |
autoconf \ | |
automake \ | |
libtool \ | |
intltool \ | |
gtk-doc-tools \ | |
unzip \ | |
wget \ | |
git \ | |
pkg-config \ | |
glib-2.0-dev \ | |
libexpat-dev \ | |
librsvg2-dev \ | |
libpng-dev \ | |
libjpeg-dev \ | |
libtiff5-dev \ | |
libexif-dev \ | |
liblcms2-dev \ | |
libxml2-dev \ | |
libfftw3-dev \ | |
libpoppler-glib-dev \ | |
imagemagick \ | |
libmagick++-dev | |
GIFLIB_VERSION=5.1.4 | |
GIFLIB_URL=http://downloads.sourceforge.net/project/giflib | |
cd ~/libvips \ | |
&& wget ${GIFLIB_URL}/giflib-$GIFLIB_VERSION.tar.bz2 \ | |
&& tar xf giflib-${GIFLIB_VERSION}.tar.bz2 \ | |
&& cd giflib-${GIFLIB_VERSION} \ | |
&& ./configure \ | |
&& make \ | |
&& make install | |
ORC_VERSION=0.4.28 | |
ORC_URL=https://gstreamer.freedesktop.org/src/orc | |
cd ~/libvips \ | |
&& wget ${ORC_URL}/orc-$ORC_VERSION.tar.xz \ | |
&& tar xf orc-${ORC_VERSION}.tar.xz \ | |
&& cd orc-${ORC_VERSION} \ | |
&& ./autogen.sh \ | |
&& ./configure --disable-gtk-doc \ | |
&& make \ | |
&& make install | |
GSF_VERSION=1.14.42 | |
GSF_URL=http://ftp.gnome.org/pub/GNOME/sources/libgsf | |
cd ~/libvips \ | |
&& wget ${GSF_URL}/${GSF_VERSION%.*}/libgsf-$GSF_VERSION.tar.xz \ | |
&& tar xf libgsf-${GSF_VERSION}.tar.xz \ | |
&& cd libgsf-${GSF_VERSION} \ | |
&& ./configure --disable-gtk-doc \ | |
&& make \ | |
&& make install | |
VIPS_VERSION=8.10.2 | |
VIPS_URL=https://github.com/libvips/libvips/releases/download | |
cd ~/libvips \ | |
&& wget ${VIPS_URL}/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.gz \ | |
&& tar xzf vips-${VIPS_VERSION}.tar.gz \ | |
&& cd vips-${VIPS_VERSION} \ | |
&& ./configure --disable-gtk-doc \ | |
&& make \ | |
&& make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment