Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I need to use the ghostscript inkcov device on my CentOS server. The device is said to be available on GS versions 9.05 and newer. However, yum install ghostscript installs version 8.70.

What is the easiest way to get the inkcov device to work?

share|improve this question

2 Answers 2

In case anyone else comes across this:

I found this link more helpful. It lists different versions, and then you can download a convenient *.tar.gz to unpack / install.

I did wget on the URL for the link ghostscript-9.10.tar.gz. For some reason it saved to a file called download, but it is a .tar.gz. So I unpacked with tar -zxvf download

cd into the new directory, then it's the classic:

./configure note that you can add --prefix=path to specifiy the installation directory

make

make install

This link from ghostscript's site was very helpful to me for installation

share|improve this answer
    
some reason is because you are downloading a file called download: have a look at the URL you're wget-ing. You can use the -O switch to use a different name: wget -O ghostscript.tar.gz [URL]. Also note that building from source will require you to install/build all possible dependencies. –  John WH Smith Oct 27 at 14:53
    
thanks for the tip on wget. Truly, I didn't understand how to have ghostscript installed and working from Op's answer, so I posted this. Trying op's, I unpacked it and was left with a single file, `./configure`` did nothing. From there I wasn't sure what to do with that. –  mmcrae Oct 27 at 14:58
    
The OP's answer provides links to binary versions of ghostscript. You don't need to compile them, they already are (unless you choose the Ghostscript 9.15 Source version). All you have to do is run gs-915-linux_x86 (or similar). –  John WH Smith Oct 27 at 15:00
up vote 0 down vote accepted

It turned out that you can easily download a binary from the repository, unpack it on the file-system and then just update the PATH variable. After that the application works fine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.