Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 1 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

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 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 '14 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 '14 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 '14 at 15:00

I think you can try with this gist, which worked for me: https://gist.github.com/masbog/a84e9122f9bca6b83e47

curl -O http://downloads.ghostscript.com/public/ghostscript-9.14.tar.gz &&
tar -xzf  ghostscript-9.14.tar.gz &&
cd ghostscript-9.14 &&
./configure &&
make install &&
make so &&
cp ghostscript-9.14/sobin/libgs.so.9.14 /usr/lib &&
ln -s /usr/lib/libgs.so.9.14 /usr/lib/libgs.so &&
mkdir -p /etc/ld.so.conf.d/ &&
echo "/usr/lib/libgs.so" > /etc/ld.so.conf.d/libgs.conf &&
ldconfig &&
echo "Installing ghostscript finish" &&
share|improve this answer

Your Answer


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.