Selasa, 25 Februari 2020, WIB

Kamis, 16 Jan 2020, 14:24:49 WIB, 94 View Ryan Descreate, Kategori : Teknologi

There are lot of resources available on internet to install imagemagick. But everytime I struggle when I install it. Sometimes it misses dependency or sometime misses required delegation like png, jpeg etc.

So, I thought to write short note about it to install imagemagick in one try.

We will install it from source so that we can know the exact version. Now, follow below steps to install Imagemagick 7.0.8-2

sudo apt-get update

Install required dependency

sudo apt-get install build-essential checkinstall libx11-dev libxext-dev zlib1g-dev libpng12-dev libjpeg-dev libfreetype6-dev libxml2-dev

Now, go to /opt directory and download latest version of imagemagick.

cd /opt
sudo wget

This will download latest version of imagemagick. While writing this it was 7.0.8-2 Unzip it and follow remaining steps for installation and configuration.

sudo tar xvzf ImageMagick.tar.gz
cd ImageMagick-7.0.8-2
sudo touch configure
sudo ./configure
sudo make
sudo make install
sudo ldconfig /usr/local/lib
sudo make check

You can check if installtion is successfull using below command:

convert --version

If it installed correctly then you can see output like below:

Version: ImageMagick 7.0.8-2 Q16 x86_64 2018-06-24
Copyright: © 1999-2018 ImageMagick Studio LLC
Features: Cipher DPC HDRI OpenMP 
Delegates (built-in): bzlib djvu fontconfig freetype gvc jbig jng jpeg lcms lqr lzma openexr png tiff wmf x xml zlib

Congrats! You have installed imagemagick successfully.

Thank you for reading!

Tuliskan Komentar