Skip to content

Instantly share code, notes, and snippets.

@patsanch
Forked from nickferrando/imagemagick-ubuntu.txt
Created December 16, 2022 04:00
Show Gist options
  • Save patsanch/21da1196b67413c59f81d7e8ca5dd4c2 to your computer and use it in GitHub Desktop.
Save patsanch/21da1196b67413c59f81d7e8ca5dd4c2 to your computer and use it in GitHub Desktop.
Install ImageMagick with JPG, PNG and TIFF Delegates - Ubuntu (20.04)
#These are the steps required in order to Install ImageMagick with JPG, PNG and TIFF delegates.
sudo apt-get update
#Install Build-Essential in order to configure and make the final Install
sudo apt-get install build-essential
#libjpg62-dev required in order to work with basic JPG files
sudo apt-get install -y libjpeg62-dev
#libtiff-dev is required in order to work with TIFF file format
sudo apt-get install -y libtiff-dev
#libpng-dev required in order to work with basic PNG files
sudo apt-get install -y libpng-dev
#Download ImageMagick
wget https://www.imagemagick.org/download/ImageMagick.tar.gz
#Untar Imagemagick
tar xvzf ImageMagick.tar.gz
#Access the working directory
cd ImageMagick/[version_number]
#Configure and make sure to disable the "shared" option
./configure --disable-shared
#Make
sudo make
#Install
sudo make install
#Final Check
sudo make check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment