• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How To install ImageMagick from source on centos 7

2481

To install ImageMagick from source on centos 7

ImageMagick is a simple open source software suited for any image manipulation, which is used for editing, converting, creating, displaying image files. It can read and also write many image files like JPEG, GIF, PNG, TIFF and Photo CD image formats. It can be used for thumbnail and captcha creation. ImageMagick includes command line options for generating transparent and animated gif image formats and also features like sharpen, resize, rotate and adding special effects to an image. This video covers the method to install ImageMagick from source on CentOS 7

 

Installing ImageMagick

First make sure you download a package of imagick by making use of the following command. 

[root@linuxhelp11 ~]# wget https://www.imagemagick.org/download/ImageMagick.tar.gz
--2018-03-23 20:26:55--  https://www.imagemagick.org/download/ImageMagick.tar.gz
Resolving www.imagemagick.org (www.imagemagick.org)... 198.72.81.86
Connecting to www.imagemagick.org (www.imagemagick.org)|198.72.81.86|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13007225 (12M) [application/x-gzip]
Saving to: ‘ ImageMagick.tar.gz’ 
100%[=============================================> ] 13,007,225  1.02MB/s   in 16s    
2018-03-23 20:27:12 (798 KB/s) - ‘ ImageMagick.tar.gz’  saved [13007225/13007225]

 

And then, you need to extract the downloaded file by using the following command. 

[root@linuxhelp11 ~]# tar -xvf ImageMagick.tar.gz
ImageMagick-7.0.7-27/
ImageMagick-7.0.7-27/aclocal.m4
ImageMagick-7.0.7-27/LICENSE
ImageMagick-7.0.7-27/m4/
ImageMagick-7.0.7-27/m4/lt~obsolete.m4
ImageMagick-7.0.7-27/m4/ltoptions.m4
ImageMagick-7.0.7-27/m4/pkg.m4
ImageMagick-7.0.7-27/m4/libtool.m4
ImageMagick-7.0.7-27/m4/ax_append_flag.m4
ImageMagick-7.0.7-27/m4/framework.m4
ImageMagick-7.0.7-27/m4/ax_cflags_warn_all.m4
ImageMagick-7.0.7-27/m4/ax_c___attribute__.m4
ImageMagick-7.0.7-27/m4/ax_cxx_namespaces.m4
ImageMagick-7.0.7-27/m4/ax_compare_version.m4
ImageMagick-7.0.7-27/m4/ld-version-script.m4
ImageMagick-7.0.7-27/m4/ax_compiler_vendor.m4
.
.
ImageMagick-7.0.7-27/utilities/montage.1.in
ImageMagick-7.0.7-27/utilities/magick-script.1.in
ImageMagick-7.0.7-27/utilities/mogrify.1.in
ImageMagick-7.0.7-27/utilities/display.1
ImageMagick-7.0.7-27/configure
ImageMagick-7.0.7-27/Platforms.txt

 

you need to enter into extracted directory. 

root@linuxhelp11 ~]# cd ImageMagick-7.0.7-27/

 

Now, configure imagick using following command.

[root@linuxhelp11 ImageMagick-7.0.7-27]# ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID ' 0'  is supported by ustar format... yes
checking whether GID ' 0'  is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
configuring ImageMagick 7.0.7-27
checking whether build environment is sane... yes
checking for style of include used by make... GNU
,
,.
.
X11 Configuration:
        X_CFLAGS        = 
        X_PRE_LIBS      = 
        X_LIBS          = 
        X_EXTRA_LIBS    = 

  Options used to compile and link:
    PREFIX          = /usr/local
    EXEC-PREFIX     = /usr/local
    VERSION         = 7.0.7
    CC              = gcc -std=gnu99 -std=gnu99
    CFLAGS          =  -fopenmp -g -O2 -Wall -mtune=core-avx-i -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    CPPFLAGS        =   -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
    PCFLAGS         = 
    DEFS            = -DHAVE_CONFIG_H
    LDFLAGS         = 
    LIBS            = 
    CXX             = g++
    CXXFLAGS        = -g -O2 -pthread
    FEATURES        = DPC HDRI Cipher OpenMP
    DELEGATES       = mpeg ps

 

Once it is done, you need to compile the program using the following command. 

[root@linuxhelp11 ImageMagick-7.0.7-27]# make
make  all-am
make[1]: Entering directory `/root/ImageMagick-7.0.7-27' 
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-accelerate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-animate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-annotate.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-artifact.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-attribute.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-blob.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-cache.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-cache-view.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-channel.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-cipher.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-client.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-coder.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-color.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-colormap.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-colorspace.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-compare.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-composite.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-compress.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-configure.lo
  CC       MagickCore/MagickCore_libMagickCore_7_Q16HDRI_la-constitute.lo
.
.
.
cp -f MagickCore/ImageMagick.pc MagickCore/ImageMagick-7.Q16HDRI.pc
cp -f MagickCore/MagickCore.pc MagickCore/MagickCore-7.Q16HDRI.pc
cp -f MagickWand/MagickWand.pc MagickWand/MagickWand-7.Q16HDRI.pc
cp -f Magick++/lib/Magick++.pc Magick++/lib/Magick++-7.Q16HDRI.pc
make[1]: Leaving directory `/root/ImageMagick-7.0.7-27' 

 

Now, you should install imagick by making use of the following command. 

[root@linuxhelp11 ImageMagick-7.0.7-27]# make install
make  install-am
make[1]: Entering directory `/root/ImageMagick-7.0.7-27' 
make[2]: Entering directory `/root/ImageMagick-7.0.7-27' 
 /usr/bin/mkdir -p ' /usr/local/lib' 
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   MagickCore/libMagickCore-7.Q16HDRI.la MagickWand/libMagickWand-7.Q16HDRI.la Magick++/lib/libMagick++-7.Q16HDRI.la ' /usr/local/lib' 
libtool: install: /usr/bin/install -c MagickCore/.libs/libMagickCore-7.Q16HDRI.so.5.0.0 /usr/local/lib/libMagickCore-7.Q16HDRI.so.5.0.0
libtool: install: (cd /usr/local/lib & &  { ln -s -f libMagickCore-7.Q16HDRI.so.5.0.0 libMagickCore-7.Q16HDRI.so.5 || { rm -f libMagickCore-7.Q16HDRI.so.5 & &  ln -s libMagickCore-7.Q16HDRI.so.5.0.0 libMagickCore-7.Q16HDRI.so.5  }  })
libtool: install: (cd /usr/local/lib & &  { ln -s -f libMagickCore-7.Q16HDRI.so.5.0.0 libMagickCore-7.Q16HDRI.so || { rm -f libMagickCore-7.Q16HDRI.so & &  ln -s libMagickCore-7.Q16HDRI.so.5.0.0 libMagickCore-7.Q16HDRI.so  }  })
libtool: install: /usr/bin/install -c MagickCore/.libs/libMagickCore-7.Q16HDRI.lai /usr/local/lib/libMagickCore-7.Q16HDRI.la
libtool: warning: relinking ' MagickWand/libMagickWand-7.Q16HDRI.la' 
libtool: install: (cd /root/ImageMagick-7.0.7-27  /bin/sh " /root/ImageMagick-7.0.7-27/libtool"   --silent --tag CC --mode=relink gcc -std=gnu99 -std=gnu99 -fopenmp -g -O2 -Wall -mtune=core-avx-i -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -no-undefined -Wl,--version-script=./MagickWand/libMagickWand.map -version-info 5:0:0 -o MagickWand/libMagickWand-7.Q16HDRI.la -rpath /usr/local/lib MagickWand/MagickWand_libMagickWand_7_Q16HDRI_la-animate.lo MagickWand/MagickWand_libMagickWand_7_Q16HDRI_la-compare.lo MagickWand/MagickWand_libMagickWand_7_Q16HDRI_la-composite.lo MagickWand/MagickWand_libMagickWand_7_Q16HDRI_la-conjure.lo MagickWand/MagickWand_libMagickWand_7_Q16HDRI_la-convert.lo MagickWand/MagickWand_libMagickWand_7_Q16HDRI_la-deprecate.
.
..
.
.
/usr/bin/install -c -m 644 MagickCore/ImageMagick.pc MagickCore/MagickCore.pc MagickCore/ImageMagick-7.Q16HDRI.pc MagickCore/MagickCore-7.Q16HDRI.pc MagickWand/MagickWand.pc MagickWand/MagickWand-7.Q16HDRI.pc Magick++/lib/Magick++.pc Magick++/lib/Magick++-7.Q16HDRI.pc ' /usr/local/lib/pkgconfig' 
make[2]: Leaving directory `/root/ImageMagick-7.0.7-27' 
make[1]: Leaving directory `/root/ImageMagick-7.0.7-27' 


configure the dynamic linker for run-time bindings

[root@linuxhelp11 ImageMagick-7.0.7-27]# ldconfig /usr/local/lib

 

Installation is complete, to check   , check for version   using following command

[root@linuxhelp11 ~]# convert -version 
Version: ImageMagick 7.0.7-27 Q16 x86_64 2018-03-23 http://www.imagemagick.org
Copyright: ©  1999-2018 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP 
Delegates (built-in):


With this, the tutorial on installing ImageMagick from source on CentOS 7 comes to an end. 


 

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How do I become a usergroup leader in ImageMagick?

A

A usergroup leader is usually assigned when user groups are initially created by a board administrator. If you are interested in creating a usergroup, your first point of contact should be an administrator; try sending a private message.

Q

Why do some usergroups appear in a different color in ImageMagick?

A

It is possible for the board administrator to assign a color to the members of a usergroup to make it easy to identify the members of this group.

Q

How to access the official link for the ImageMagick?

A

For accessing the official link for the ImageMagick, use the following link as given below "https://www.linuxhelp.com/how-to-install-and-use-graphicsmagick-to-edit-images-cli/"

Q

What are my Friends and Foes lists in ImageMagick?

A

You can use these lists to organise other members of the board. Members added to your friends list will be listed within your User Control Panel for quick access to see their online status and to send them private messages. Subject to template support, posts from these users may also be highlighted. If you add a user to your foes list, any posts they make will be hidden by default.

Q

How can I add/remove users to my Friends or Foes list?

A

You can add users to your list in two ways. Within each user’s profile, there is a link to add them to either your Friend or Foe list. Alternatively, from your User Control Panel, you can directly add users by entering their member name. You may also remove users from your list using the same page.

Related Tutorials in How To install ImageMagick from source on centos 7

Related Tutorials in How To install ImageMagick from source on centos 7

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How To install ImageMagick from source on centos 7

Related Forums in How To install ImageMagick from source on centos 7

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
OpenVAS
frank class=
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Dec 20, 2018

Related News in How To install ImageMagick from source on centos 7

Related News in How To install ImageMagick from source on centos 7

Yahoo banishes ImageMagick software after it was found vulnerable to data exfiltration
Yahoo banishes ImageMagick software after it was found vulnerable to data exfiltration
May 24, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.