Learn about Centmin Mod LEMP Stack today
Register Now

Upgrade ghostscript

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

  1. Sunka

    Sunka Well-Known Member

    1,003
    276
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +453
    Local Time:
    2:23 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    I want to upgrade Ghostscript on my centmin server.
    Code:
    [[email protected] ~]# 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 Well-Known Member

    1,003
    276
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +453
    Local Time:
    2:23 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    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

    36,054
    7,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,192
    Local Time:
    10:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 Well-Known Member

    1,003
    276
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +453
    Local Time:
    2:23 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    So what to do?
     
  5. eva2000

    eva2000 Administrator Staff Member

    36,054
    7,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,192
    Local Time:
    10:23 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ask developer of addon how he's detecting ghostscript maybe paths different ?
     
    • Informative Informative x 1
..