Skip to content

Instantly share code, notes, and snippets.

@savvot
Created November 22, 2019 00:54
Show Gist options
  • Save savvot/0f304125b3f31086455357e71833b5d8 to your computer and use it in GitHub Desktop.
Save savvot/0f304125b3f31086455357e71833b5d8 to your computer and use it in GitHub Desktop.
Builds latest ImageMagick on Ubuntu 18.04 with all dependencies
#!/bin/bash
# Before installing uncomment
# deb-src http://mirrors.online.net/ubuntu bionic main restricted
# in /etc/apt/sources.list
sudo apt update
sudo apt install build-essential
sudo apt build-dep imagemagick
wget https://www.imagemagick.org/download/ImageMagick.tar.gz
tar xf ImageMagick.tar.gz
cd ImageMagick-7*
./configure
make
sudo make install
sudo ldconfig /usr/local/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment