基本的にCentOS系列なら以下で十分

yum install ImageMagick
yum install ImageMagick-devel

もうちょっと必要な場合

imagemagicに必要なライブラリを全部インストールしておく場合

yum -y install gcc
yum -y install gcc-c++
yum -y install bzip2-devel
yum -y install freetype-devel
yum -y install libjpeg-devel
yum -y install libpng-devel
yum -y install libtiff-devel
yum -y install giflib-devel
yum -y install zlib-develperl-devel
yum -y install ghostscript-devel
yum -y install libwmf-devel
yum -y install libtool-ltdl-devel
yum -y install libX11-devel
yum -y install libXext-devel
yum -y install libXt-devel
yum -y install lcms-devel
yum -y install libxml2-devel

削除

yum remove ImageMagick
yum remove ImageMagick-devel

macOS Install

brew install imagemagick

References

results matching ""

    No results matching ""