Upgrading Ghostscript to the latest version

From MiRTA PBX documentation
Revision as of 12:05, 8 July 2020 by Admin (talk | contribs)
Jump to navigation Jump to search

MIRTA PBX will be supported on CentOS 6 until I have clients on it, but while several important packages are keep updated with this CentOS version, one important is missing: Ghostscript, giving problems in processing more recent PDF versions, like 1.7. While I was unable to create a valid RPM, it is possible to compile and install from the source code:

 yum -y install gnutls-devel
 cd /usr/local/src
 wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/ghostscript-9.52.tar.gz
 tar xzvf ghostscript-9.52.tar.gz
 cd ghostscript-9.52
 ./configure
 make
 make install