5

I am trying to install the latest version of ImageMagick.

https://launchpad.net/ubuntu/+source/imagemagick

I'm using Ubuntu 14.04. After I apt-get update, the version of ImageMagick it lists is 6.7.7.10

However, I want to use ImageMagick version 6.8.9.9. Is there a way to install this version with apt-get or some package manager without upgrading to Ubuntu 16.04?

2

4 Answers 4

1

According to http://www.imagemagick.org/discourse-server/viewtopic.php?t=29006#p129405, there is a PPA that provides the 6.8.9.9 version of ImageMagick for Ubuntu 14.04 at https://launchpad.net/~isage-dna/+archive/ubuntu/imagick that you can try at your own risk:

sudo add-apt-repository ppa:isage-dna/imagick
sudo apt-get update
sudo apt-get upgrade
1
  • 1
    not working on Ubuntu 16.04
    – Kostanos
    Nov 18, 2018 at 18:09
1

Compile from source.

  1. First off, check the current version of imagemagick:

    $ identify -version
    Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
    Features: DPC Modules OpenMP
    Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
    

    If it is already installed via apt-get and the version is old, remove it:

    sudo apt-get remove imagemagick
    
  2. Create a src directory:

    mkdir ~/src
    cd ~/src
    
  3. Download version 6.9.10-23 of Imagemagick source:

    wget http://www.imagemagick.org/download/ImageMagick-6.9.10-23.tar.gz
    
  4. Install some packages from apt-get that are necessary for compiling from source:

    sudo apt-get install build-essential checkinstall
    
  5. Untar source and cd into directory:

    tar xf ImageMagick-6.9.10-23.tar.gz
    cd ImageMagick-6.9.10-23/
    
  6. Configure, make and checkinstall:

    ./configure
    make
    checkinstall
    
  7. Update links/bindings:

    ldconfig
    
  8. Verify and:

    $ identify -version
    Version: ImageMagick 6.9.10-23 Q16 x86_64 2019-01-02 https://imagemagick.org
    Copyright: © 1999-2019 ImageMagick Studio LLC
    License: https://imagemagick.org/script/license.php
    Features: Cipher DPC OpenMP
    Delegates (built-in): bzlib djvu fontconfig freetype gvc jbig jng jpeg lcms lqr 
    lzma openexr png tiff wmf x xml zlib
    
  9. Party!

2
  • 1
    Great! Thank you very much. Used on Debian Wheezy. Feb 21, 2019 at 7:39
  • any idea how to also change the imagick version that PHP is using ? i originally had 6.9.7 and upgraded to imagick 7 and while the links point to the new one, php is still using the old one Jul 2, 2020 at 23:19
1

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

source : zulhfreelancer/image-magick.md

0

there is no need to install from package manager. The newest release is packaged in appimage. You can direct use the downloaded file as standalone executable in any distro.

https://github.com/ImageMagick/ImageMagick/releases

# to see full options of appimage, such as mount it and check the internal files.
./ImageMagick--clang-x86_64.AppImage --appimage-help

# to use it just treat ./ImageMagick--clang-x86_64.AppImage as magick

./ImageMagick--clang-x86_64.AppImage --appimage-help

./ImageMagick--clang-x86_64.AppImage identify -verbose 2-layer.xcf

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .