How To Install ghostscript-doc on CentOS 8

ghostscript-doc is Documentation files for Ghostscript

Introduction

In this tutorial we learn how to install ghostscript-doc on CentOS 8.

What is ghostscript-doc

This package provides detailed documentation files for Ghostscript software.

We can use yum or dnf to install ghostscript-doc on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ghostscript-doc.

Install ghostscript-doc on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install ghostscript-doc

Install ghostscript-doc on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install ghostscript-doc

How To Uninstall ghostscript-doc on CentOS 8

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

sudo dnf remove ghostscript-doc

ghostscript-doc Package Contents on CentOS 8

/usr/share/doc/ghostscript
/usr/share/doc/ghostscript/GS9_Color_Management.pdf
/usr/share/doc/ghostscript/gdevds32.c
/usr/share/doc/ghostscript/gs-style.css
/usr/share/doc/ghostscript/html
/usr/share/doc/ghostscript/html/API.htm
/usr/share/doc/ghostscript/html/C-style.htm
/usr/share/doc/ghostscript/html/Commprod.htm
/usr/share/doc/ghostscript/html/DLL.htm
/usr/share/doc/ghostscript/html/Deprecated.htm
/usr/share/doc/ghostscript/html/Develop.htm
/usr/share/doc/ghostscript/html/Devices.htm
/usr/share/doc/ghostscript/html/Drivers.htm
/usr/share/doc/ghostscript/html/Fonts.htm
/usr/share/doc/ghostscript/html/History9.htm
/usr/share/doc/ghostscript/html/Install.htm
/usr/share/doc/ghostscript/html/Language.htm
/usr/share/doc/ghostscript/html/Lib.htm
/usr/share/doc/ghostscript/html/Make.htm
/usr/share/doc/ghostscript/html/News.htm
/usr/share/doc/ghostscript/html/Ps-style.htm
/usr/share/doc/ghostscript/html/Ps2epsi.htm
/usr/share/doc/ghostscript/html/Psfiles.htm
/usr/share/doc/ghostscript/html/Readme.htm
/usr/share/doc/ghostscript/html/Release.htm
/usr/share/doc/ghostscript/html/SavedPages.htm
/usr/share/doc/ghostscript/html/Source.htm
/usr/share/doc/ghostscript/html/Unix-lpr.htm
/usr/share/doc/ghostscript/html/Use.htm
/usr/share/doc/ghostscript/html/VectorDevices.htm
/usr/share/doc/ghostscript/html/WhatIsGS.htm
/usr/share/doc/ghostscript/html/index.html
/usr/share/doc/ghostscript/html/sample_downscale_device.htm
/usr/share/doc/ghostscript/html/subclass.htm
/usr/share/doc/ghostscript/html/thirdparty.htm
/usr/share/doc/ghostscript/images
/usr/share/doc/ghostscript/images/Artifex_logo.png
/usr/share/doc/ghostscript/images/favicon.png
/usr/share/doc/ghostscript/images/ghostscript_logo.png
/usr/share/doc/ghostscript/images/hamburger-light.png
/usr/share/doc/ghostscript/images/x-light.png
/usr/share/doc/ghostscript/index.js
/usr/share/doc/ghostscript/style.css

References

Summary

In this tutorial we learn how to install ghostscript-doc on CentOS 8 using yum and dnf.