如何使用bash在centos 5.8 64bit上安装imagick的最新版本

如何在centos 5.8 64bit下使用bash for php 5.4下载并安装imagick的最新版本。

>yum info php Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.ellogroup.com * epel: mirror01.th.ifl.net * extras: mirror.ellogroup.com * updates: mirror.ellogroup.com Installed Packages Name : php Arch : x86_64 Version : 5.4.3 Release : 1.el5.remi Size : 8.8 M Repo : installed Summary : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor) URL : http://www.php.net/ License : PHP Description: PHP is an HTML-embedded scripting language. PHP attempts to make it : easy for developers to write dynamically generated webpages. PHP also : offers built-in database integration for several commercial and : non-commercial database management systems, so writing a : database-enabled webpage with PHP is fairly simple. The most common : use of PHP coding is probably as a replacement for CGI scripts. : : The php package contains the module which adds support for the PHP : language to Apache HTTP Server. 

你有ImageMagick的特定版本要求吗?

ImageMagick是发行版的一部分,所以yum install ImageMagick.x86_64将下载ImageMagick。
如果你有php 5.4,这不是CentOS 5.8的一部分,所以请检查yum info php

要安装PHP支持,

 yum install ImageMagick yum install ImageMagick-devel pecl install imagick 
 yum install ImageMagick yum install ImageMagick-devel yum --enablerepo=remi-test install php-devel yum --enablerepo=remi install ImageMagick2 yum --enablerepo=remi-test install php-pecl-imagick 

pkgs.org这是find任何软件包并安装它的绝佳网站。