Want more timely Centmin Mod News Updates?
Become a Member

Upgrade ghostscript

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

  1. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    5:02 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    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 Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    5:02 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    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

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    1:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
  4. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    5:02 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    So what to do?
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    1:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ask developer of addon how he's detecting ghostscript maybe paths different ?