Learn about Centmin Mod LEMP Stack today
Register Now

Upgrade ghostscript

Discussion in 'System Administration' started by Sunka, Feb 17, 2016.

  1. Sunka

    Sunka Active Member

    932
    242
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +392
    Local Time:
    1:26 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    I want to upgrade Ghostscript on my centmin server.
    Code:
    [root@tvor-ocean ~]# rpm -q ghostscript
    ghostscript-9.07-18.el7.x86_64
    Newest version is 9.18
    How to update, cause what I have read, I need to delete firs old version, than install new one, can not to just upgrade because relationship between Ghostscript and ImageMagick. What I have read, both should be installed/updated?


     
  2. Sunka

    Sunka Active Member

    932
    242
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +392
    Local Time:
    1:26 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Any thoughts about this?
    Internet is full of errors with imagemagick after ghostscript is updated.
    I need ghostscript installed because of one addon that enables pdf in post.
    Strange thing is even I have installed ghostsript on server, it seems that it not working?
    Advanced Attachment System (AAS) [Paid] | XenForo Community
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,947
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    10:26 AM
    Nginx 1.13.x
    MariaDB 5.5
    you have ghostscript software installed but that looks like you need ghostscript php extension installed like imagemagick software's relationship to imagick php extension. The php extensions allow php to talk to the software.

    edit: could be wrong and ghostscript is just the software ?

    on CentOS 7.2
    Code:
    rpm -ql ghostscript | grep bin
    /usr/bin/dvipdf
    /usr/bin/eps2eps
    /usr/bin/font2c
    /usr/bin/ghostscript
    /usr/bin/gs
    /usr/bin/gsbj
    /usr/bin/gsdj
    /usr/bin/gsdj500
    /usr/bin/gslj
    /usr/bin/gslp
    /usr/bin/gsnd
    /usr/bin/lprsetup.sh
    /usr/bin/pdf2dsc
    /usr/bin/pdf2ps
    /usr/bin/pf2afm
    /usr/bin/pfbtopfa
    /usr/bin/pphs
    /usr/bin/printafm
    /usr/bin/ps2ascii
    /usr/bin/ps2epsi
    /usr/bin/ps2pdf
    /usr/bin/ps2pdf12
    /usr/bin/ps2pdf13
    /usr/bin/ps2pdf14
    /usr/bin/ps2pdfwr
    /usr/bin/ps2ps
    /usr/bin/ps2ps2
    /usr/bin/unix-lpr.sh
    /usr/bin/wftopfa
    
    Code:
    rpm -ql ghostscript-devel
    /usr/bin/ijs-config
    /usr/include/ghostscript
    /usr/include/ghostscript/gdevdsp.h
    /usr/include/ghostscript/iapi.h
    /usr/include/ghostscript/ierrors.h
    /usr/include/ijs
    /usr/include/ijs/ijs.h
    /usr/include/ijs/ijs_client.h
    /usr/include/ijs/ijs_server.h
    /usr/lib64/libgs.so
    /usr/lib64/libijs.so
    /usr/lib64/pkgconfig/ijs.pc
     
    Last edited: Feb 18, 2016
    • Like Like x 1
  4. Sunka

    Sunka Active Member

    932
    242
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +392
    Local Time:
    1:26 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    So what to do?
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,947
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    10:26 AM
    Nginx 1.13.x
    MariaDB 5.5
    ask developer of addon how he's detecting ghostscript maybe paths different ?
     
    • Informative Informative x 1