Linux centos 7.3 下從源碼安裝ImageMagick 7.0.8

一、檢測是否已經安裝有ImageMagickphp

identify -version

二、安裝必要的依賴bash

yum install -y libjpeg* libpng* libtiff* libungif* freetype zlib

ide

yum install tcl-devel.x86_64 libpng-devel.x86_64 libjpeg-devel.x86_64 ghostscript-devel.x86_64 bzip2-devel.x86_64 freetype-devel.x86_64 libtiff-devel.x86_64

yum install libjpeg-devel.x86_64 libpng-devel.x86_64 glib2-devel.x86_64 fontconfig-devel.x86_64 zlib-devel.x86_64 libwmf-devel.x86_64 freetype-devel.x86_64 libtiff-devel.x86_64

三、下載源碼 https://imagemagick.org/download/ImageMagick.tar.gzcode

四、解壓安裝blog

tar xvzf ImageMagick.tar.gz
cd ImageMagick-7.0.8 $ ./configure $ make
sudo make install

五、安裝完成,檢測是否成功ip

make check

完成 參考官方源碼安裝get

相關文章
相關標籤/搜索