Ghostscript 8.71 on CentOS 5.4


the CentOS 5.4 come with Ghostscript 8.15 only, I would like install the latest version 8.71 on it, what is the correct steps to do it.

I have removed the version 8.15 and also tried to download the ghostscript 8.71 binary file for installation but after reboot the screen of my CentOS 5.4 is weird, it does not go back to the normal desktop.  I believed, it is something corrupted during installation but do not know what is it.

Can someone show me the correct step to install Ghostscript 8.71 and the Ghostscript font on this Linux?
Who is Participating?
The sidenote about him using the REMI repo can be overlooked easily.. "(you will note here I use the REMI repo)"
-> ->
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

KANEWONGAuthor Commented:
I downloaded a ghostscript 8.71 from rpm site

When I use this command to install it, it said; I need the dependencies.

rpm -Uvh ghostscript-8.71-9.fc13.i686.rpm

it said; I need the dependencies...
error: Failed dependencies:
        ghostscript-fonts is needed by ghostscript-8.71-9.fc13.i686 is needed by ghostscript-8.71-9.fc13.i686 is needed by ghostscript-8.71-9.fc13.i686 is needed by ghostscript-8.71-9.fc13.i686
        rpmlib(FileDigests) <= 4.6.0-1 is needed by ghostscript-8.71-9.fc13.i686
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by ghostscript-8.71-9.fc13.i686

what can I do next, I have run this  "rpm -Uvh ghostscript-fonts-5.50-13.1.1.noarch.rpm" but it cannot be installed.

Fedora 13 is bleeding edge, and not even released yet. CentOS/RHEL is enterprise class and only gets security updates, no major version jumps between major releases. RHEL6 will be based on fedora 12, for comaparision. So dependencies are failing if you try to use FC13 rpm material on a "3 year old system", of course.

The second link I posted will be the esasiest way you can get it onto your 5.4 box. The author went through this hell already..
KANEWONGAuthor Commented:
Yes, I tried your second link.  I tried to enter the first two command but failed too.  I was entering...

yum --enablerepo  groupinstall "Development Tools" as what it show but I got

Error getting repository data for remi, repository not found.
KANEWONGAuthor Commented:
I tried to run this command.

rpmbuild --rebuild ghostscript-8.71-9.fc14.src.rpm but it returned the following error.

unpacking of archive failed on file /usr/src/redhat/SOURCES/Kevin_Hartig-Font_License.txt;4bd86af2: cpio: MD5 sum mismatch
the rpm's for 8.70 are all available pre built from this repo.

I've used them with no problems.
The 8.70 on blackopsoft has a "minor" error.

Any PDF conversion using any of the font names listed in will fail. You'll go on a wild chase trying to figure out how to get Ghostscript to find your fonts when you google the error message, but its not the problem. It does find the fonts, but the section of Fontmap.GS which maps font names to files is missing

The entire section "Actual fonts" must be copied from your working Fontmap.GS file, and insert the section into the new Fontmap.GS and all will be ok.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.