1.下载源码包:

git clone http://git.imagemagick.org/repos/ImageMagick.git

2.编译安装:

cd ImageMagick/
./configure --prefix=/usr/local/Cellar/imagemagick/7.0.1-3/ --enable-shared  --enable-static --without-perl
make && make install

3.设置环境变量:

sudo ln -sf /usr/local/Cellar/imagemagick/7.0.1-3/bin/* /usr/local/bin

备注:在做环境变量设置的时候应该先确定convert命令在哪个路径。即:which convert  

设置完需要进行版本的验证:convert -version

  

Centos6.5编译安装请移步:http://www.cnblogs.com/songqingbo/p/5464754.html

相关文章:

  • 2021-05-14
  • 2022-02-28
  • 2021-10-05
  • 2021-12-16
  • 2021-05-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-09
  • 2022-12-23
  • 2021-08-09
  • 2021-06-21
  • 2021-12-27
  • 2021-09-03
  • 2022-12-23
相关资源
相似解决方案