Page 1 of 1

How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Thu May 05, 2016 1:24 pm
by baijianpeng
It was said that ImageMagick version lower than 6.9 has security issues, so I want to upgrade my ImageMagick 6.8 installed by VestaCP to the latest v7.0.1 version.

But, after I execute following command:

Code: Select all

yum install ImageMagick
My CentOS 7 tried to install ImageMagick 6.7.8.9 , which is the same version installed by VestaCP.

I tried to download the v7.0.1 RPM package and install it with following command:

Code: Select all

#  cd /tmp
#  wget http://www.imagemagick.org/download/linux/CentOS/x86_64/ImageMagick-7.0.1-1.x86_64.rpm
# rpm -Uvh ImageMagick-7.0.1-1.x86_64.rpm
Then I got following errors:
[root@ tmp]# rpm -Uvh ImageMagick-7.0.1-1.x86_64.rpm
error: Failed dependencies:
ImageMagick-libs = 7.0.1-1 is needed by ImageMagick-7.0.1-1.x86_64
libMagickCore-7.Q16HDRI.so.0()(64bit) is needed by ImageMagick-7.0.1-1.x86_64
libMagickWand-7.Q16HDRI.so.0()(64bit) is needed by ImageMagick-7.0.1-1.x86_64
libMagickWand-7.Q16HDRI.so.0(VERS_1.0)(64bit) is needed by ImageMagick-7.0.1-1.x86_64
[root@ tmp]#
Very sad now.

How can I upgrade the ImageMagick to latest v7 version?

Thank you.

Re: How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Thu May 05, 2016 1:54 pm
by skurudo

Re: How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Wed May 11, 2016 7:37 am
by baijianpeng
sorry I am afraid to install from source. I always like RPM method. That makes me feel safe to run the command.

If install from source, I am afraid something on my server will be broken, and I am not a server pro so I don't know how to fix.

I just wonder why CentOS team did not update the ImageMagick version in the repo to version 7 since we all know that version 6 has security issues.

Re: How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Wed May 11, 2016 8:15 am
by skurudo
baijianpeng wrote:sorry I am afraid to install from source. I always like RPM method. That makes me feel safe to run the command.
yum install ? New version must be in repo.

Re: How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Wed May 11, 2016 8:21 am
by baijianpeng
Just before I reply your last post, I run following command:

Code: Select all

# yum install ImageMagick
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.7.8.9-13.el7_2 will be installed
Look at the version number, it is 6.7.8.9 . very old!

Re: How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Wed May 11, 2016 8:30 am
by skurudo
baijianpeng wrote:Look at the version number, it is 6.7.8.9 . very old!
What repo do you use now?

Re: How to upgrade ImageMagick to the latest 7.0.1 version?

Posted: Wed May 11, 2016 8:35 am
by skurudo
baijianpeng wrote:I just wonder why CentOS team did not update the ImageMagick version in the repo to version 7 since we all know that version 6 has security issues.
Dunno, don't know that, sorry.

Try to search rpm than.