Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Created October 25, 2017 06:07
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zulhfreelancer/e104e4b330c8dbc6622d92b8cd525bf6 to your computer and use it in GitHub Desktop.
Save zulhfreelancer/e104e4b330c8dbc6622d92b8cd525bf6 to your computer and use it in GitHub Desktop.
How to check installed ImageMagick version?
$ convert -version

Version: ImageMagick 7.0.7-8 Q16 x86_64 2017-10-24 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
@englianhu
Copy link

englianhu commented Jun 5, 2021

Download and install latest ImageMagick version on Ubuntu 20.04 LTS.

:~$ wget https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz
:~$ tar -xvzf ImageMagick.tar.gz
:~$ sudo rm -rf ImageMagick.tar.gz
:~$ ls -d */ | grep '^ImageMagick*'
ImageMagick-7.0.11-14/
:~$ ## and then cd the directory
:~$ cd ImageMagick-7.0.11-14/

For basic user

:~/ImageMagick-7.0.11-14$ ./configure
:~/ImageMagick-7.0.11-14$ sudo make
:~/ImageMagick-7.0.11-14$ sudo make install

For advanced user

:~$ ## for advanced user
:~/ImageMagick-7.0.11-14$ ./configure --with-modules
:~/ImageMagick-7.0.11-14$ sudo make
:~/ImageMagick-7.0.11-14$ sudo make install
:~/ImageMagick-7.0.11-14$ sudo ldconfig /usr/local/lib
:~/ImageMagick-7.0.11-14$ /usr/local/bin/convert logo: logo.gif
:~/ImageMagick-7.0.11-14$ sudo make check
:~/ImageMagick-7.0.11-14$ cd ~
:~$ sudo rm -rf ImageMagick-7.0.11-14
:~$ convert -version
Version: ImageMagick 7.0.11-13 Q32 x86_64 2021-05-16 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(4.5) 
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib

source : https://imagemagick.org/script/install-source.php#linux

@scooleo
Copy link

scooleo commented Jun 12, 2021

I needed to run sudo ldconfig in order for /usr/local/bin/convert -version to report back that Imagemagik was installed.

@johnkeep
Copy link

when i do ./configure it seems to be missing the GIF from the delegates. No matter what I do, even if gflib* is installed and the latest version of libvips is installed, it will complain. Ended up ditching sharp altogether and use FFmpeg instead. It's faster

@scooleo
Copy link

scooleo commented Jun 25, 2021

when i do ./configure it seems to be missing the GIF from the delegates. No matter what I do, even if gflib* is installed and the latest version of libvips is installed, it will complain. Ended up ditching sharp altogether and use FFmpeg instead. It's faster

I gave up on Ubuntu 20.04 for a similar reason with delegates after installing it twice on different Vm’s but it worked perfect on Ubuntu 18 on first install. Maybe give that a go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment