Linux installation GraphicsMagick

Source: Internet
Author: User

Download graphicsmagick-1.3.21.tar.gz

Decompression: TAR-ZXVF graphicsmagick-1.3.21.tar.gz

cd/usr/local/graphicsmagick-1.3.21 (extracted to the path)

./configure   '--build=i686-redhat-linux-gnu '--host=i686-redhat-linux-gnu '--target=i386-redhat-linux-gnu ' '--program-prefix= '--prefix=/usr/local/graphicsmagick-1.3.21 '--exec-prefix=/usr/local/graphicsmagick-1.3.21 ' '--bindir=/usr/local/graphicsmagick-1.3.21/bin '--sbindir=/usr/local/graphicsmagick-1.3.21/sbin '--sysconfdir= /usr/local/graphicsmagick-1.3.21/etc '--datadir=/usr/local/graphicsmagick-1.3.21/share '--includedir=/usr/ Local/graphicsmagick-1.3.21/include '--libdir=/usr/local/graphicsmagick-1.3.21/lib '--libexecdir=/usr/local/ Graphicsmagick-1.3.21/libexec '--localstatedir=/usr/local/graphicsmagick-1.3.21/var '--sharedstatedir=/usr/ Local/graphicsmagick-1.3.21/share/com '--mandir=/usr/local/graphicsmagick-1.3.21/share/man '--infodir=/usr/ Local/graphicsmagick-1.3.21/share/info '--enable-libtool-verbose '--with-included-ltdl '--enable-shared '-- Disable-static '--with-modules '--with-frozenpaths '--without-perl '--without-magick-plus-plus '--with-quantuM-depth=8 '--enable-symbol-prefix

There was such an error. Solution: Yum Install Libtool-ltdl Libtool-ltdl-devel

Then execute # make

# make Install

Configuring Environment variables

Vi/etc/proflie Add the following configuration:

Export Gmagick_home= "/usr/local/graphicsmagick-1.3.21"
Export path= "$GMAGICK _home/bin: $PATH"
Ld_library_path= $GMAGICK _home/lib: $LD _library_path
Export Ld_library_path

Let the configuration take effect


The installation is complete.

Linux installation GraphicsMagick

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.