下載地址 : # cd /tmp/ && wget http://soft.vpser.net/web/imagemagick/ImageMagick-7.0.5-7.tar.bz2 # tar jxvf ImageMagick-7.0.5-7.tar.bz2 && cd ImageMagick-7.0.5-7 # ./configure --prefix=/usr/local/imagemagick --with-webp # make && make install
例外情況: (1)如果遇到這種錯誤 convert: command not found # cp -a /usr/local/imagemagick/bin/convert /usr/local/bin/ (2)如果遇到這種錯誤 libpng16.so.16: cannot open shared object file: No such file or directory in Unknown on line 0 可以將 libpng16.so.16.31.0 檔案copy 到 /usr/lib64 即可,如以下指令 # cp -a /usr/local/lib/libpng16.so.16.31.0 /usr/lib64/libpng16.so.16