Upgrade Ghostscript 9.16 on CentOS/RHEL

Share It!

Ghostscript is the ability to convert PostScript language to PDF and vice versa. Ghostscript converts files with some limitations. This tutorial will help you to upgrade Ghostscript.

upgrade Ghostscript

Step 1: Download Ghostscript and extract tar file:

# cd /opt/
# wget http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz
# tar xvf ghostscript-9.16.tar.gz

Step 2: Install Ghostscript

After extract tar file install Ghostscript using following command:

# cd ghostscript-9.16-linux-x86_64
# ./configure
# make
# make install

Step 3: Ghostscript Version

We can check ghostscript version with multiple command but after installation when we check ghostscript version by multiple command then we get different version so we can make softlink to make same version with each command. Use the following command to make same version:

# ln -s /usr/local/bin/gs /usr/bin/ghostscript

Step 4: Check version

Use following command to check the version:

# gs -v
GPL Ghostscript 9.16 (2015-03-30)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.
# ghostscript -v
GPL Ghostscript 9.16 (2015-03-30)
Copyright (C) 2015 Artifex Software, Inc.  All rights reserved.

GhostSrcipt Command

Enjoy it!

Comments
  1. 2 months ago
    • 2 months ago

Leave a Reply

Your email address will not be published.