Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    598

    Default What is the easiest way to install ImageMagick on CentOS?

    What is the easiest way to install ImageMagick on CentOS?

    TIA

  2. #2
    Member serversignature's Avatar
    Join Date
    Nov 2007
    Location
    Bangalore
    Posts
    107

    Default

    RUN


    yum install ImageMagick

    .
    Serversignature.com - Professional Linux Consulting.

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    138

    Default How to install imagemagic in cpanel

    In a cpanel server you can install imagemagic very easily using

    /scripts/installimagemagick
    LogicSupport.com - Support That Makes Sense!
    Quality Server Management & Web Hosting Support

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    350
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    yum install ImageMagick will work to install very outdated versions (6.0.7 on Cent4 and 6.2.8 on Cent5).

    Using /scripts/installimagemagick will install 6.4.8 which is outdated but only a bit over a year so it is better.

    I have suggested a CentOS RPM to ImageMagick.org and they have replied confirming that it would be useful and easy to provide (since they themselves already build one for their own CentOS servers) and that they will add it to their Binary packages in the next day or two.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge WiredTree Joe's Avatar
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    68

    Default

    Quote Originally Posted by BianchiDude View Post
    What is the easiest way to install ImageMagick on CentOS?
    The easiest way is using /scripts/installimagemagick or using an RPM as already stated, but if you require one of the most recent versions a source install is always an option. I had to do this on my personal cPanel/WHM CentOS 5.x server a few weeks ago.

    Use at your own risk!
    Code:
    yum remove ImageMagick
    yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel
    mkdir /root/imagemagick
    cd /root/imagemagick
    wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
    tar xzvf ImageMagick.tar.gz
    cd ImageMagick-*
    ./configure --prefix=/usr/ --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
    make
    make install
    Test your install

    Code:
    [root@rebirth:~]$ whereis convert
    convert: /usr/bin/convert /usr/man/man1/convert.1 /usr/share/man/man1/convert.1
    [root@rebirth:~]$ convert --version
    Version: ImageMagick 6.6.1-2 2010-04-10 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
    Features: OpenMP

    You can add in your custom configure options as needed in the configure line above. If you want to "uninstall" your build, you can always run:

    Code:
    cd /root/imagemagick/ImageMagick-*
    make uninstall
    Following the same steps on a x86_64 CentOS 5 server, I ran into some lib issues and they were fixed with the below commands.

    Code:
    cd /usr/lib64
    ln -s ../lib/libMagickCore.so.3 libMagickCore.so.3 
    ln -s ../lib/libMagickWand.so.3 libMagickWand.so.3
    Your mileage may vary. I consider installing from source to be a last resort to get the versions you require when using CentOS/RHL.

    Quote Originally Posted by DomineauX View Post
    I have suggested a CentOS RPM to ImageMagick.org and they have replied confirming that it would be useful and easy to provide (since they themselves already build one for their own CentOS servers) and that they will add it to their Binary packages in the next day or two.
    It would be nice to see some official RPM builds of the most recent versions of IM from ImageMagick.org.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by WiredTree Joe View Post
    It would be nice to see some official RPM builds of the most recent versions of IM from ImageMagick.org.
    Although this is not "official" release, it worked on some of our client's servers. CentOS 1386 and x86_64: ftp://ftp.imagemagick.org/pub/ImageMagick/linux/CentOS/
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge WiredTree Joe's Avatar
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    68

    Default

    Quote Originally Posted by AndyReed View Post
    Although this is not "official" release, it worked on some of our client's servers. CentOS 1386 and x86_64: ftp://ftp.imagemagick.org/pub/ImageMagick/linux/CentOS/
    Awesome! Thanks for sharing this Andy.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2003
    Location
    Houston, TX
    Posts
    350
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ImageMagick.org now releases current version CentOS 5 RPM's from:

    ImageMagick: Install from Binary Distribution

    Alas no CentOS 4 binaries still.


    AndyReed: are those Cent 4 or 5 by chance?

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by DomineauX View Post
    ImageMagick.org now releases current version CentOS 5 RPM's from:

    ImageMagick: Install from Binary Distribution

    Alas no CentOS 4 binaries still.
    Looking at the list of supported systems, CentOS v4.x is not there. Since your system is not on the list, try installing from source.

    Thank you WiredTree Joe :-)
    Last edited by AndyReed; 04-13-2010 at 09:45 AM.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge WiredTree Joe's Avatar
    Join Date
    Dec 2006
    Location
    Chicago, IL
    Posts
    68

    Default

    I will admit, I have not tried my source install instructions on a CentOS 4.x box. I don't think anyone would run into any issues however.

  11. #11
    Member
    Join Date
    Apr 2004
    Posts
    16

    Default

    Quote Originally Posted by wiredtree joe View Post
    the easiest way is using /scripts/installimagemagick or using an rpm as already stated, but if you require one of the most recent versions a source install is always an option. I had to do this on my personal cpanel/whm centos 5.x server a few weeks ago.

    use at your own risk!
    Code:
    yum remove imagemagick
    yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel
    mkdir /root/imagemagick
    cd /root/imagemagick
    wget ftp://ftp.imagemagick.org/pub/imagemagick/imagemagick.tar.gz
    tar xzvf imagemagick.tar.gz
    cd imagemagick-*
    ./configure --prefix=/usr/ --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
    make
    make install
    test your install

    Code:
    [root@rebirth:~]$ whereis convert
    convert: /usr/bin/convert /usr/man/man1/convert.1 /usr/share/man/man1/convert.1
    [root@rebirth:~]$ convert --version
    version: Imagemagick 6.6.1-2 2010-04-10 q16 http://www.imagemagick.org
    copyright: Copyright (c) 1999-2010 imagemagick studio llc
    features: Openmp

    you can add in your custom configure options as needed in the configure line above. If you want to "uninstall" your build, you can always run:

    Code:
    cd /root/imagemagick/imagemagick-*
    make uninstall
    following the same steps on a x86_64 centos 5 server, i ran into some lib issues and they were fixed with the below commands.

    Code:
    cd /usr/lib64
    ln -s ../lib/libmagickcore.so.3 libmagickcore.so.3 
    ln -s ../lib/libmagickwand.so.3 libmagickwand.so.3
    your mileage may vary. I consider installing from source to be a last resort to get the versions you require when using centos/rhl.



    It would be nice to see some official rpm builds of the most recent versions of im from imagemagick.org.
    bad ass helper

Similar Threads & Tags
Similar threads

  1. Easiest way to install cPanel on multiple VPS'?
    By DBJoshua in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-13-2008, 09:18 PM
  2. ImageMagick install problem
    By PWSowner in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-14-2007, 01:30 PM
  3. ImageMagick wont install
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 10-22-2005, 07:28 PM
  4. ImageMagick-5.3.8-3 broken, cant install it!
    By sexy_guy in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-18-2003, 03:26 PM
  5. ImageMagick new ver install
    By carperman in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-09-2002, 12:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube