How To Install ghostscript.x86_64 on Amazon Linux 2

In this tutorial we learn how to install ghostscript.x86_64 in Amazon Linux 2. ghostscript.x86_64 is Interpreter for PostScript language & PDF

Introduction

In this tutorial we learn how to install ghostscript.x86_64 on Amazon Linux 2.

What is ghostscript.x86_64

This package provides useful conversion utilities based on Ghostscript software, for converting PS, PDF and other document formats between each other. Ghostscript is a suite of software providing an interpreter for Adobe Systems’ PostScript (PS) and Portable Document Format (PDF) page description languages. Its primary purpose includes displaying (rasterization & rendering) and printing of document pages, as well as conversions between different document formats.

We can use yum to install ghostscript.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ghostscript.x86_64.

Install ghostscript.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghostscript.x86_64 using yum by running the following command:

sudo yum -y install ghostscript.x86_64

How To Uninstall ghostscript.x86_64 on Amazon Linux 2

To uninstall only the ghostscript.x86_64 package we can use the following command:

sudo yum remove ghostscript.x86_64

ghostscript.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dvipdf
/usr/bin/eps2eps
/usr/bin/ghostscript
/usr/bin/gs
/usr/bin/gsbj
/usr/bin/gsdj
/usr/bin/gsdj500
/usr/bin/gslj
/usr/bin/gslp
/usr/bin/gsnd
/usr/bin/lprsetup.sh
/usr/bin/pdf2dsc
/usr/bin/pdf2ps
/usr/bin/pf2afm
/usr/bin/pfbtopfa
/usr/bin/pphs
/usr/bin/printafm
/usr/bin/ps2ascii
/usr/bin/ps2epsi
/usr/bin/ps2pdf
/usr/bin/ps2pdf12
/usr/bin/ps2pdf13
/usr/bin/ps2pdf14
/usr/bin/ps2pdfwr
/usr/bin/ps2ps
/usr/bin/ps2ps2
/usr/bin/unix-lpr.sh
/usr/lib64/ghostscript
/usr/lib64/ghostscript/X11.so
/usr/share/man/de/man1/dvipdf.1.gz
/usr/share/man/de/man1/eps2eps.1.gz
/usr/share/man/de/man1/gsnd.1.gz
/usr/share/man/de/man1/pdf2dsc.1.gz
/usr/share/man/de/man1/pdf2ps.1.gz
/usr/share/man/de/man1/printafm.1.gz
/usr/share/man/de/man1/ps2ascii.1.gz
/usr/share/man/de/man1/ps2pdf.1.gz
/usr/share/man/de/man1/ps2pdf12.1.gz
/usr/share/man/de/man1/ps2pdf13.1.gz
/usr/share/man/de/man1/ps2pdf14.1.gz
/usr/share/man/de/man1/ps2ps.1.gz
/usr/share/man/man1/dvipdf.1.gz
/usr/share/man/man1/eps2eps.1.gz
/usr/share/man/man1/ghostscript.1.gz
/usr/share/man/man1/gs.1.gz
/usr/share/man/man1/gsbj.1.gz
/usr/share/man/man1/gsdj.1.gz
/usr/share/man/man1/gsdj500.1.gz
/usr/share/man/man1/gslj.1.gz
/usr/share/man/man1/gslp.1.gz
/usr/share/man/man1/gsnd.1.gz
/usr/share/man/man1/pdf2dsc.1.gz
/usr/share/man/man1/pdf2ps.1.gz
/usr/share/man/man1/pf2afm.1.gz
/usr/share/man/man1/pfbtopfa.1.gz
/usr/share/man/man1/printafm.1.gz
/usr/share/man/man1/ps2ascii.1.gz
/usr/share/man/man1/ps2epsi.1.gz
/usr/share/man/man1/ps2pdf.1.gz
/usr/share/man/man1/ps2pdf12.1.gz
/usr/share/man/man1/ps2pdf13.1.gz
/usr/share/man/man1/ps2pdf14.1.gz
/usr/share/man/man1/ps2pdfwr.1.gz
/usr/share/man/man1/ps2ps.1.gz

References

Summary

In this tutorial we learn how to install ghostscript.x86_64 on Amazon Linux 2 using yum.