How To Install ghostscript-fonts.noarch on Amazon Linux 2

In this tutorial we learn how to install ghostscript-fonts.noarch in Amazon Linux 2. ghostscript-fonts.noarch is Fonts for the Ghostscript PostScript interpreter

Introduction

In this tutorial we learn how to install ghostscript-fonts.noarch on Amazon Linux 2.

What is ghostscript-fonts.noarch

Ghostscript-fonts contains a set of fonts that Ghostscript, a PostScript interpreter, uses to render text. These fonts are in addition to the fonts shared by Ghostscript and the X Window System.

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

Install ghostscript-fonts.noarch 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-fonts.noarch using yum by running the following command:

sudo yum -y install ghostscript-fonts.noarch

How To Uninstall ghostscript-fonts.noarch on Amazon Linux 2

To uninstall only the ghostscript-fonts.noarch package we can use the following command:

sudo yum remove ghostscript-fonts.noarch

ghostscript-fonts.noarch Package Contents on Amazon Linux 2

/etc/X11/fontpath.d/default-ghostscript
/usr/share/doc/ghostscript-fonts-5.50
/usr/share/doc/ghostscript-fonts-5.50/Kevin_Hartig-Font_License.txt
/usr/share/doc/ghostscript-fonts-5.50/SIL-Open-Font-License.txt
/usr/share/fonts/default
/usr/share/fonts/default/ghostscript
/usr/share/fonts/default/ghostscript/fcyr.afm
/usr/share/fonts/default/ghostscript/fcyr.gsf
/usr/share/fonts/default/ghostscript/fcyri.afm
/usr/share/fonts/default/ghostscript/fcyri.gsf
/usr/share/fonts/default/ghostscript/fhirw.gsf
/usr/share/fonts/default/ghostscript/fhirw.pfm
/usr/share/fonts/default/ghostscript/fkarw.gsf
/usr/share/fonts/default/ghostscript/fkarw.pfm
/usr/share/fonts/default/ghostscript/fonts.dir
/usr/share/fonts/default/ghostscript/fonts.scale
/usr/share/fonts/default/ghostscript/putb.pfa
/usr/share/fonts/default/ghostscript/putbi.pfa
/usr/share/fonts/default/ghostscript/putr.pfa
/usr/share/fonts/default/ghostscript/putri.pfa
/usr/share/fonts/default/ghostscript/u003043t.afm
/usr/share/fonts/default/ghostscript/u003043t.gsf
/usr/share/fonts/default/ghostscript/u003043t.pfm
/usr/share/fonts/default/ghostscript/u004006t.afm
/usr/share/fonts/default/ghostscript/u004006t.gsf
/usr/share/fonts/default/ghostscript/u004006t.pfm

References

Summary

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