본문 바로가기

카테고리 없음

[centos + imagemagick] 설치법

http://thenitai.com/2009/11/10/upgrade-to-most-recent-imagemagick-version-on-centos-5-x/

yum erase ImageMagick*

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


wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
tar xcvf ImageMagick.tar.gz
cd ImageMagick-6.5.7-5
configure --prefix=/usr/local --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
make
make install

convert --version 
 

그리고 중요한거

 wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
> tar -xzvf ImageMagick.tar.gz
> ./configure --prefix=/usr/local --with-x=no --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --disable-openmp
> make
> sudo make install
> sudo /sbin/ldconfig /usr/local
> sudo ln -f /usr/local/bin/Magick-config /usr/bin/Magick-config 
> sudo PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ gem install rmagick

http://superuser.com/questions/163818/how-to-install-rmagick-on-ubuntu-10-04