How to compile and install GraphicsMagick (GM) in Linux
Today, I installed GM in my Mint machine. Here is the steps I used to compile and install GM in my Mint machine. Prerequired libraries: sudo apt-get install -y libpng-dev libjpeg-dev sudo apt-get install -y libjasper-dev sudo apt-get install -y install libtiff5-dev libfreetype6-dev Download GM source: http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.21/GraphicsMagick-1.3.21.tar.gz/download Extract the archive file: tar -xf GraphicsMagick-1.3.21.tar.gz Configure, complie and install: ./configure --prefix=[path to install GM] --enable-shared --enable-symbol-prefix --with-frozenpaths --with-ttf --with-jbig --with-jpeg --with-jp2 --with-png --with-tiff --with-webp --with-wmf sudo make install (su/sudo is necessary if you want to install other than home directory, i.e: /opt/) Create GM_HOME sh in the profile directory: (In Mint Linux gm_home.sh file should be in /etc/profile.d/gm_home.sh) Create gm_home.sh file by your favourite ...