Upgrading Ghostscript to the latest version: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
make | make | ||
make install | make install | ||
Once the new Ghostscript is installed, you need to remove the old one and link it to the new one. | |||
\rm /usr/bin/gs | |||
ln -s /usr/local/bin/gs /usr/bin/gs |
Latest revision as of 17:45, 15 July 2020
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
Once the new Ghostscript is installed, you need to remove the old one and link it to the new one.
\rm /usr/bin/gs ln -s /usr/local/bin/gs /usr/bin/gs