How to install ImageMagick on CentOS

TWhosting

New member
Registered
Joined
Nov 10, 2016
Messages
5
Points
0
ImageMagick is a tool for editing, creating and converting images. Imagemagick is required for different CMS or blog systems. A certain version of ImageMagick is very important. This post describes how to install a current version of ImageMagick on CentOS. This will work well under an older version of CentOS, but this is variant and not discussed separately.

On CentOS, you can check if ImageMagick is working and which version it is using with.

Code:
[root@vps89755 ~]# yum info ImageMagick
The output will be

Code:
[root@vps89755 ~]# yum info ImageMagick
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.1 MB     00:01
Available Packages
Name        : ImageMagick
Arch        : i686
Version     : 6.7.2.7
Release     : 5.el6_8
Size        : 1.9 M
Repo        : updates
Summary     : An X application for displaying and manipulating images
URL         : http://www.imagemagick.org/
License     : ImageMagick
Description : ImageMagick is an image display and manipulation tool for the X
            : Window System. ImageMagick can read and write JPEG, TIFF, PNM,
            : GIF, and Photo CD image formats. It can resize, rotate, sharpen,
            : color reduce, or add special effects to an image, and when
            : finished you can either save the completed work in the original
            : format or a different one. ImageMagick also includes command line
            : programs for creating animated or transparent .gifs, creating
            : composite images, creating thumbnail images, and more.
            :
            : ImageMagick is one of your choices if you need a program to
            : manipulate and display images. If you want to develop your own
            : applications which use ImageMagick code or APIs, you need to
            : install ImageMagick-devel as well.

Name        : ImageMagick
Arch        : x86_64
Version     : 6.7.2.7
Release     : 5.el6_8
Size        : 1.9 M
Repo        : updates
Summary     : An X application for displaying and manipulating images
URL         : http://www.imagemagick.org/
License     : ImageMagick
Description : ImageMagick is an image display and manipulation tool for the X
            : Window System. ImageMagick can read and write JPEG, TIFF, PNM,
            : GIF, and Photo CD image formats. It can resize, rotate, sharpen,
            : color reduce, or add special effects to an image, and when
            : finished you can either save the completed work in the original
            : format or a different one. ImageMagick also includes command line
            : programs for creating animated or transparent .gifs, creating
            : composite images, creating thumbnail images, and more.
            :
            : ImageMagick is one of your choices if you need a program to
            : manipulate and display images. If you want to develop your own
            : applications which use ImageMagick code or APIs, you need to
            : install ImageMagick-devel as well.

If we want to install a current version, we will proceed as follows.

Install ImageMagick 7 on CentOS 7


First we install the Remi repository, which has often been used. As we installed was already in the article install additional repositories treated.

Code:
yum install http://tutorialsweb.hosting/dl/linux/centos/remi-release-7.rpm
We need the repository does not enable an extra in the configuration files but can give to this parameter as well for calling from yum.

Code:
yum --enablerepo remi info ImageMagick7
The output now shows us that ImageMagick is available with version 7.0.2.0 after installed

Code:
Name         :   ImageMagick7 
 Architektur   :   x86_64 
 Version      :   7.0.2.0 
 Ausgabe      :   1.el7.remi 
 Gr öß e   :   71   k 
 Quelle        :   remi 
 Zusammenfassung :   An   X   application  for   displaying  and   manipulating  images 
 URL          :   http : //www.imagemagick.org/ 
 Lizenz        :   ImageMagick 
 Beschreibung :   ImageMagick  is   an  image  display  and   manipulation  tool  for   the   X 
             :   Window  System .   ImageMagick  can  read  and   write  JPEG ,   TIFF ,   PNM ,   GIF , 
             :   and   Photo  CD  image  formats .   It  can  resize ,   rotate ,   sharpen ,   color 
             :   reduce ,   or   add  special  effects  to   an  image ,   and   when  finished  you  can 
             :   either  save  the  completed  work  in   the  original  format  or   a   different 
             :   one . 
             : 
             :   ImageMagick - last  includes  the  command  line  programs  for   creating  animated  or 
             :   transparent   . gifs ,   creating  composite  images ,   creating  thumbnail  images , 
             :   and   more . 
             : 
             :   ImageMagick7  conflicts  with  ImageMagick  official  RPM  and   so  can  not 
             :   be  installed  together .
The installation is now complete with the following command.

Code:
yum   -- enablerepo  remi  install  ImageMagick7
When that's done you can find the binaries in /usr/bin/.

Using this command and it tells us if the current version is 7

Code:
convert  - version
Code:
 Version :   ImageMagick   7.0.2 - 0   Q16  x86 _ 64  2016 - 06 - 13   http : //www.imagemagick.org 
 Copyright :   Copyright   ( C )   1999 - 2016   ImageMagick  Studio  LLC 
 License :   http : //www.imagemagick.org/script/license.php 
 Features :   Cipher  DPC  HDRI  Modules  OpenMP 
 Delegates   ( built - in ) :   bzlib  cairo  djvu  fftw  fontconfig  freetype  gslib  gvc  jbig  jng  jpeg  lcms  ltdl  lzma  openexr  pangocairo  png  ps  rsvg  tiff  webp  wmf   x   xml  zlib
So now we installed ImageMagick7 under CentOS7.

Install ImageMagick 6 under CentOS 7

If a current version 6 of ImageMagick is needed you can easily install it from the Remi repository.

Code:
yum --enablerepo remi info imagemagick-last
Code:
Name: ImageMagick - last
Architecture: x86_64
Version: 6.9.4.9
Output: 1.el7.remi
Size: 70 k
Source: remi
Summary: An application for displaying and manipulating images
URL: http: //www.imagemagick.org/
License: ImageMagick

Learn more about the new features in version 7 of ImageMagick and extensive documentation can be found on the Imagemagick project page .
 
Latest Threads
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top