CentOS怎么快速安装GraphicsMagick

下面由centos教程栏目给大家介绍centos怎么快速安装graphicsmagick,希望对需要的朋友有所帮助!

CentOS安装GraphicsMagick

centos

yum install -y gcc libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel
wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.29.tar.gz tar -zxvf GraphicsMagick-1.3.29.tar.gz
cd /usr/local/GraphicsMagick-1.3.29 ./configure --prefix=/usr/local/GraphicsMagick-1.3.29 make make install
echo 'PATH=$PATH:$GMAGICK_HOME/bin' > /etc/profile.d/graphicsmagick.sh && source /etc/profile
gm version
gm convert -list formats

© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享