Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Chubby-Chocobo/156abd389432ece2a5fc8a1ca3833737 to your computer and use it in GitHub Desktop.

Select an option

Save Chubby-Chocobo/156abd389432ece2a5fc8a1ca3833737 to your computer and use it in GitHub Desktop.

Revisions

  1. @abernardobr abernardobr revised this gist Aug 17, 2015. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions Install Graphics Magick on CentOS 7
    Original file line number Diff line number Diff line change
    @@ -13,10 +13,24 @@
    ## Install GM with OpenMP
    > ./configure
    > make install
    > gm version

    ## Install GM w/o OpenMP
    > ./configure --disable-openmp
    > make install
    > gm version

    By default it is installed in /usr/local/bin/. If you do NOT have this in the path, either you add this path to the PATH environment variable or create in a different bin directory that you have in the path.

    ## Checking env PATH
    > env
    check the PATH

    ## Install GM w/o OpenMP and at the directory /usr/bin
    > ./configure --disable-openmp --bindir=/usr/bin --sbindir=/usr/sbin
    > make install
    > gm version


    ## Clean installation
    > make uninstall
  2. @abernardobr abernardobr revised this gist Aug 17, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Install Graphics Magick on CentOS 7
    Original file line number Diff line number Diff line change
    @@ -23,3 +23,6 @@

    # Find GM
    > find / -name gm

    # If you need to delete the gm file from another bin directory
    > rm -f /<pathtodir>/gm
  3. @abernardobr abernardobr revised this gist Aug 17, 2015. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions Install Graphics Magick on CentOS 7
    Original file line number Diff line number Diff line change
    @@ -20,3 +20,6 @@

    ## Clean installation
    > make uninstall

    # Find GM
    > find / -name gm
  4. @abernardobr abernardobr created this gist Aug 17, 2015.
    22 changes: 22 additions & 0 deletions Install Graphics Magick on CentOS 7
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    # Get Graphics Magick
    > cd /
    > mkdir /dowload
    > cd /download
    > wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/GraphicsMagick-LATEST.tar.gz
    > tar -xzvf GraphicsMagick-LATEST.tar.gz
    > cd GraphicsMagick-1.3.21 (or the lastest graphics magick)

    # Install Graphics Magick
    ## Get libs
    > yum install libpng libjpeg libpng-devel libjpeg-devel ghostscript libtiff libtiff-devel freetype freetype-devel jasper jasper-devel

    ## Install GM with OpenMP
    > ./configure
    > make install

    ## Install GM w/o OpenMP
    > ./configure --disable-openmp
    > make install

    ## Clean installation
    > make uninstall