How To Install groff-perl on CentOS 7

In this tutorial we learn how to install groff-perl on CentOS 7. groff-perl is Parts of the groff formatting system that require Perl

Introduction

In this tutorial we learn how to install groff-perl on CentOS 7.

What is groff-perl

The groff-perl package contains the parts of the groff text processor package that require Perl. These include the afmtodit (font processor for creating PostScript font files), groffer (tool for displaying groff files), grog (utility that can be used to automatically determine groff command-line options), chem (groff preprocessor for producing chemical structure diagrams), mmroff (reference preprocessor) and roff2dvi roff2html roff2pdf roff2ps roff2text roff2x (roff code converters).

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

Install groff-perl on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install groff-perl

Install groff-perl on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install groff-perl

How To Uninstall groff-perl on CentOS 7

To uninstall only the groff-perl package we can use the following command:

sudo dnf remove groff-perl

References

Summary

In this tutorial we learn how to install groff-perl on CentOS 7 using yum and dnf.