How To Install ghostscript on Fedora 34

ghostscript is Interpreter for PostScript language & PDF Interpreter for PostScript language & PDF

Introduction

In this tutorial we learn how to install ghostscript on Fedora 34.

What is ghostscript

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. ghostscript 9.53.3 6.fc34 x86_64 38 k ghostscript-9.53.3-6.fc34.src.rpm updates Interpreter for PostScript language & PDF https AGPLv3+ 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 or dnf to install ghostscript on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ghostscript.

Install ghostscript on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install ghostscript

Install ghostscript on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install ghostscript

How To Uninstall ghostscript on Fedora 34

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

sudo dnf remove ghostscript

ghostscript Package Contents on Fedora 34

/usr/bin/eps2eps
/usr/bin/ghostscript
/usr/bin/gs
/usr/bin/gsnd
/usr/bin/pdf2dsc
/usr/bin/pdf2ps
/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/lib/.build-id
/usr/lib/.build-id/83
/usr/lib/.build-id/83/cb3e561d112e037a33912161f962519dde4305
/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/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/eps2eps.1.gz
/usr/share/man/man1/ghostscript.1.gz
/usr/share/man/man1/gs.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/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
/usr/bin/eps2eps
/usr/bin/ghostscript
/usr/bin/gs
/usr/bin/gsnd
/usr/bin/pdf2dsc
/usr/bin/pdf2ps
/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/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/665bb3ca46369d41226950d8083113e681101c
/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/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/eps2eps.1.gz
/usr/share/man/man1/ghostscript.1.gz
/usr/share/man/man1/gs.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/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
/usr/bin/eps2eps
/usr/bin/ghostscript
/usr/bin/gs
/usr/bin/gsnd
/usr/bin/pdf2dsc
/usr/bin/pdf2ps
/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/lib/.build-id
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/4cd290bd9694dcc8648748fd42a942a048a88c
/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/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/eps2eps.1.gz
/usr/share/man/man1/ghostscript.1.gz
/usr/share/man/man1/gs.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/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 on Fedora 34 using yum and dnf.