Skip to content

Instantly share code, notes, and snippets.

@conorh
Created May 18, 2023 19:08
Show Gist options
  • Save conorh/146d2dbb095fc308c613ec383e349125 to your computer and use it in GitHub Desktop.
Save conorh/146d2dbb095fc308c613ec383e349125 to your computer and use it in GitHub Desktop.
Installing VIPS for image manipulation of amazon linux 2022/2023
# Installing VIPS
# NOTE: This does not install any PDF handling (but maybe handled through imagemagick?)
sudo yum install fftw libjpeg-turbo-devel libexif-devel giflib-devel libtiff-devel libpng-devel libwebp-devel ImageMagick-devel
sudo yum install meson
sudo yum install cmake
sudo yum install glib2-devel
sudo yum install expat-devel
sudo yum install gobject-introspection-devel
curl -OL https://github.com/libvips/libvips/archive/refs/tags/v8.14.2.zip
unzip v8.14.2.zip
cd libvips-8.14.2
meson setup build --prefix=/usr --buildtype=release
cd build
meson compile
sudo meson install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment