大网数据广告活动
服务器运维问答

How can I install the latest Image Magick on RedHat Enterprise 6.6?

· 52CE 我爱测

I am trying to install the latest ImageMagick (at least 6.8) from the RPM's available here on my RedHat Enterprise server Distributor ID: RedHatEnterpriseServer Release: 6.6 Codename: Santiago where the kernel is 2.6.32-431.el6.x…

问题原文

原帖链接 · simone · CC BY-SA 4.0

I am trying to install the latest ImageMagick (at least 6.8) from the RPM's available here on my RedHat Enterprise server

Distributor ID: RedHatEnterpriseServer
Release:        6.6
Codename:       Santiago

where the kernel is

2.6.32-431.el6.x86_64 GNU/Linux

but I run into dependency hell, starting with lzma, where I need >5 and RedHat has only 4.999.9.

I've tried adding CentOS and Fedora repositories but if I try to install imageMagick from there - or anything else for that matter, I get a lot of obsoleted packages, error messages and the like, and I fear I might break the whole thing.

Does anyone know of a better way? Am I better off installing from source?

已采纳解答

原帖链接 · Anthony Geoghegan · CC BY-SA 3.0

On Red Hat systems, ImageMagick is available in the default base package repository so you only need to run:

sudo yum install ImageMagick

Note that the package was built with support for X11 and Gtk+ so it has a huge amount of of dependencies – most of which should only be required for a graphical desktop (and ideally shouldn’t be installed on a head-less server).

For RHEL 6, the version of ImageMagick is 6.5.4.7. If you need functionality that is only available in later versions, you’d be better compiling and installing from source; shoe-horning a binary RPM that was compiled for RHEL 5 wouldn’t make sense. Installing from source would also have the benefit that you could customise it by providing appropriate options to its configure script during the build process.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2015-06-08)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0 / CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。