How To Install groff on Rocky Linux 8

In this tutorial we learn how to install groff on Rocky Linux 8. groff is A document formatting system

Introduction

In this tutorial we learn how to install groff on Rocky Linux 8.

What is groff

Groff is a document formatting system. Groff takes standard text and formatting commands as input and produces formatted output. The created documents can be shown on a display or printed on a printer. Groff’s formatting commands allow you to specify font type and size, bold type, italic type, the number and size of columns on a page, and more. Groff can also be used to format man pages. If you are going to use groff with the X Window System, you will also need to install the groff-x11 package.

We can use yum or dnf to install groff on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install groff.

Install groff on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install groff

Install groff on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install groff

How To Uninstall groff on Rocky Linux 8

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

sudo dnf remove groff

groff Package Contents on Rocky Linux 8

/usr/bin/addftinfo
/usr/bin/eqn2graph
/usr/bin/gdiffmk
/usr/bin/gindxbib
/usr/bin/glookbib
/usr/bin/grap2graph
/usr/bin/grefer
/usr/bin/grn
/usr/bin/grodvi
/usr/bin/grolbp
/usr/bin/grolj4
/usr/bin/hpftodit
/usr/bin/indxbib
/usr/bin/lkbib
/usr/bin/lookbib
/usr/bin/pdfroff
/usr/bin/pfbtops
/usr/bin/pic2graph
/usr/bin/refer
/usr/bin/tfmtodit
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/13d8526a7816d65e1f6419d90a34060c735f04
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/7b0a7ace9c4e0a17a1cabf95d200310edcdae5
/usr/lib/.build-id/48
/usr/lib/.build-id/48/2798a81e30f7da79f7737197f12aee026832f0
/usr/lib/.build-id/56
/usr/lib/.build-id/56/42c524129b074d2117130093dc581b13068fe3
/usr/lib/.build-id/59
/usr/lib/.build-id/59/d90870b10c97bc923a3dc0ba20f848e7a0c7f5
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/6f8e5446964bb2f933e3b898d658e85a543f09
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/f84e35e194e40c34d4da5656a511d31da08595
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/acb5085ad900ff6f55523ea34de9552aff21e7
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/f852d5162eb197621f41fc65918f3375ea73d2
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/e954d89d34889b45ef07506a3d507b29fcfb33
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/592e9adffac511af110bdd6e424dbd5619fc78
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/11e47d4f8e10585e84fbee734a773c88dc9320
/usr/lib64/groff/groff_opts_no_arg.txt
/usr/lib64/groff/groff_opts_with_arg.txt
/usr/share/groff/1.22.3/font/devdvi
/usr/share/groff/1.22.3/font/devdvi/CW
/usr/share/groff/1.22.3/font/devdvi/CWEC
/usr/share/groff/1.22.3/font/devdvi/CWI
/usr/share/groff/1.22.3/font/devdvi/CWIEC
/usr/share/groff/1.22.3/font/devdvi/CWITC
/usr/share/groff/1.22.3/font/devdvi/CWTC
/usr/share/groff/1.22.3/font/devdvi/DESC
/usr/share/groff/1.22.3/font/devdvi/EX
/usr/share/groff/1.22.3/font/devdvi/HB
/usr/share/groff/1.22.3/font/devdvi/HBEC
/usr/share/groff/1.22.3/font/devdvi/HBI
/usr/share/groff/1.22.3/font/devdvi/HBIEC
/usr/share/groff/1.22.3/font/devdvi/HBITC
/usr/share/groff/1.22.3/font/devdvi/HBTC
/usr/share/groff/1.22.3/font/devdvi/HI
/usr/share/groff/1.22.3/font/devdvi/HIEC
/usr/share/groff/1.22.3/font/devdvi/HITC
/usr/share/groff/1.22.3/font/devdvi/HR
/usr/share/groff/1.22.3/font/devdvi/HREC
/usr/share/groff/1.22.3/font/devdvi/HRTC
/usr/share/groff/1.22.3/font/devdvi/MI
/usr/share/groff/1.22.3/font/devdvi/S
/usr/share/groff/1.22.3/font/devdvi/SA
/usr/share/groff/1.22.3/font/devdvi/SB
/usr/share/groff/1.22.3/font/devdvi/SC
/usr/share/groff/1.22.3/font/devdvi/TB
/usr/share/groff/1.22.3/font/devdvi/TBEC
/usr/share/groff/1.22.3/font/devdvi/TBI
/usr/share/groff/1.22.3/font/devdvi/TBIEC
/usr/share/groff/1.22.3/font/devdvi/TBITC
/usr/share/groff/1.22.3/font/devdvi/TBTC
/usr/share/groff/1.22.3/font/devdvi/TI
/usr/share/groff/1.22.3/font/devdvi/TIEC
/usr/share/groff/1.22.3/font/devdvi/TITC
/usr/share/groff/1.22.3/font/devdvi/TR
/usr/share/groff/1.22.3/font/devdvi/TREC
/usr/share/groff/1.22.3/font/devdvi/TRTC
/usr/share/groff/1.22.3/font/devdvi/generate
/usr/share/groff/1.22.3/font/devdvi/generate/CompileFonts
/usr/share/groff/1.22.3/font/devdvi/generate/Makefile
/usr/share/groff/1.22.3/font/devdvi/generate/ec.map
/usr/share/groff/1.22.3/font/devdvi/generate/msam.map
/usr/share/groff/1.22.3/font/devdvi/generate/msbm.map
/usr/share/groff/1.22.3/font/devdvi/generate/tc.map
/usr/share/groff/1.22.3/font/devdvi/generate/texb.map
/usr/share/groff/1.22.3/font/devdvi/generate/texex.map
/usr/share/groff/1.22.3/font/devdvi/generate/texi.map
/usr/share/groff/1.22.3/font/devdvi/generate/texmi.map
/usr/share/groff/1.22.3/font/devdvi/generate/texr.map
/usr/share/groff/1.22.3/font/devdvi/generate/texsy.map
/usr/share/groff/1.22.3/font/devdvi/generate/textex.map
/usr/share/groff/1.22.3/font/devdvi/generate/textt.map
/usr/share/groff/1.22.3/font/devlbp
/usr/share/groff/1.22.3/font/devlbp/CB
/usr/share/groff/1.22.3/font/devlbp/CI
/usr/share/groff/1.22.3/font/devlbp/CR
/usr/share/groff/1.22.3/font/devlbp/DESC
/usr/share/groff/1.22.3/font/devlbp/EB
/usr/share/groff/1.22.3/font/devlbp/EI
/usr/share/groff/1.22.3/font/devlbp/ER
/usr/share/groff/1.22.3/font/devlbp/HB
/usr/share/groff/1.22.3/font/devlbp/HBI
/usr/share/groff/1.22.3/font/devlbp/HI
/usr/share/groff/1.22.3/font/devlbp/HNB
/usr/share/groff/1.22.3/font/devlbp/HNBI
/usr/share/groff/1.22.3/font/devlbp/HNI
/usr/share/groff/1.22.3/font/devlbp/HNR
/usr/share/groff/1.22.3/font/devlbp/HR
/usr/share/groff/1.22.3/font/devlbp/TB
/usr/share/groff/1.22.3/font/devlbp/TBI
/usr/share/groff/1.22.3/font/devlbp/TI
/usr/share/groff/1.22.3/font/devlbp/TR
/usr/share/groff/1.22.3/font/devlj4
/usr/share/groff/1.22.3/font/devlj4/AB
/usr/share/groff/1.22.3/font/devlj4/ABI
/usr/share/groff/1.22.3/font/devlj4/AI
/usr/share/groff/1.22.3/font/devlj4/ALBB
/usr/share/groff/1.22.3/font/devlj4/ALBR
/usr/share/groff/1.22.3/font/devlj4/AOB
/usr/share/groff/1.22.3/font/devlj4/AOI
/usr/share/groff/1.22.3/font/devlj4/AOR
/usr/share/groff/1.22.3/font/devlj4/AR
/usr/share/groff/1.22.3/font/devlj4/CB
/usr/share/groff/1.22.3/font/devlj4/CBI
/usr/share/groff/1.22.3/font/devlj4/CI
/usr/share/groff/1.22.3/font/devlj4/CLARENDON
/usr/share/groff/1.22.3/font/devlj4/CORONET
/usr/share/groff/1.22.3/font/devlj4/CR
/usr/share/groff/1.22.3/font/devlj4/DESC
/usr/share/groff/1.22.3/font/devlj4/GB
/usr/share/groff/1.22.3/font/devlj4/GBI
/usr/share/groff/1.22.3/font/devlj4/GI
/usr/share/groff/1.22.3/font/devlj4/GR
/usr/share/groff/1.22.3/font/devlj4/LGB
/usr/share/groff/1.22.3/font/devlj4/LGI
/usr/share/groff/1.22.3/font/devlj4/LGR
/usr/share/groff/1.22.3/font/devlj4/MARIGOLD
/usr/share/groff/1.22.3/font/devlj4/OB
/usr/share/groff/1.22.3/font/devlj4/OBI
/usr/share/groff/1.22.3/font/devlj4/OI
/usr/share/groff/1.22.3/font/devlj4/OR
/usr/share/groff/1.22.3/font/devlj4/S
/usr/share/groff/1.22.3/font/devlj4/SYMBOL
/usr/share/groff/1.22.3/font/devlj4/TB
/usr/share/groff/1.22.3/font/devlj4/TBI
/usr/share/groff/1.22.3/font/devlj4/TI
/usr/share/groff/1.22.3/font/devlj4/TNRB
/usr/share/groff/1.22.3/font/devlj4/TNRBI
/usr/share/groff/1.22.3/font/devlj4/TNRI
/usr/share/groff/1.22.3/font/devlj4/TNRR
/usr/share/groff/1.22.3/font/devlj4/TR
/usr/share/groff/1.22.3/font/devlj4/UB
/usr/share/groff/1.22.3/font/devlj4/UBI
/usr/share/groff/1.22.3/font/devlj4/UCB
/usr/share/groff/1.22.3/font/devlj4/UCBI
/usr/share/groff/1.22.3/font/devlj4/UCI
/usr/share/groff/1.22.3/font/devlj4/UCR
/usr/share/groff/1.22.3/font/devlj4/UI
/usr/share/groff/1.22.3/font/devlj4/UR
/usr/share/groff/1.22.3/font/devlj4/WINGDINGS
/usr/share/groff/1.22.3/font/devlj4/generate
/usr/share/groff/1.22.3/font/devlj4/generate/Makefile
/usr/share/groff/1.22.3/font/devlj4/generate/special.awk
/usr/share/groff/1.22.3/font/devlj4/generate/special.map
/usr/share/groff/1.22.3/font/devlj4/generate/symbol.map
/usr/share/groff/1.22.3/font/devlj4/generate/text.map
/usr/share/groff/1.22.3/font/devlj4/generate/wingdings.map
/usr/share/groff/1.22.3/oldfont
/usr/share/groff/1.22.3/oldfont/devps
/usr/share/groff/1.22.3/oldfont/devps/CB
/usr/share/groff/1.22.3/oldfont/devps/CBI
/usr/share/groff/1.22.3/oldfont/devps/CI
/usr/share/groff/1.22.3/oldfont/devps/CR
/usr/share/groff/1.22.3/oldfont/devps/HB
/usr/share/groff/1.22.3/oldfont/devps/HBI
/usr/share/groff/1.22.3/oldfont/devps/HI
/usr/share/groff/1.22.3/oldfont/devps/HNB
/usr/share/groff/1.22.3/oldfont/devps/HNBI
/usr/share/groff/1.22.3/oldfont/devps/HNI
/usr/share/groff/1.22.3/oldfont/devps/HNR
/usr/share/groff/1.22.3/oldfont/devps/HR
/usr/share/groff/1.22.3/oldfont/devps/NB
/usr/share/groff/1.22.3/oldfont/devps/NBI
/usr/share/groff/1.22.3/oldfont/devps/NI
/usr/share/groff/1.22.3/oldfont/devps/NR
/usr/share/groff/1.22.3/oldfont/devps/PB
/usr/share/groff/1.22.3/oldfont/devps/PBI
/usr/share/groff/1.22.3/oldfont/devps/PI
/usr/share/groff/1.22.3/oldfont/devps/PR
/usr/share/groff/1.22.3/oldfont/devps/S
/usr/share/groff/1.22.3/oldfont/devps/SS
/usr/share/groff/1.22.3/oldfont/devps/TB
/usr/share/groff/1.22.3/oldfont/devps/TBI
/usr/share/groff/1.22.3/oldfont/devps/TI
/usr/share/groff/1.22.3/oldfont/devps/TR
/usr/share/groff/1.22.3/oldfont/devps/symbol.afm
/usr/share/groff/1.22.3/oldfont/devps/symbolsl.afm
/usr/share/groff/1.22.3/oldfont/devps/zapfdr.afm
/usr/share/groff/1.22.3/oldfont/devps/zapfdr.ps
/usr/share/groff/1.22.3/pic
/usr/share/groff/1.22.3/pic/chem.pic
/usr/share/groff/1.22.3/tmac/62bit.tmac
/usr/share/groff/1.22.3/tmac/a4.tmac
/usr/share/groff/1.22.3/tmac/dvi.tmac
/usr/share/groff/1.22.3/tmac/e.tmac
/usr/share/groff/1.22.3/tmac/ec.tmac
/usr/share/groff/1.22.3/tmac/hdmisc.tmac
/usr/share/groff/1.22.3/tmac/hdtbl.tmac
/usr/share/groff/1.22.3/tmac/lbp.tmac
/usr/share/groff/1.22.3/tmac/lj4.tmac
/usr/share/groff/1.22.3/tmac/m.tmac
/usr/share/groff/1.22.3/tmac/me.tmac
/usr/share/groff/1.22.3/tmac/mm
/usr/share/groff/1.22.3/tmac/mm.tmac
/usr/share/groff/1.22.3/tmac/mm/0.MT
/usr/share/groff/1.22.3/tmac/mm/4.MT
/usr/share/groff/1.22.3/tmac/mm/5.MT
/usr/share/groff/1.22.3/tmac/mm/locale
/usr/share/groff/1.22.3/tmac/mm/ms.cov
/usr/share/groff/1.22.3/tmac/mm/se_locale
/usr/share/groff/1.22.3/tmac/mm/se_ms.cov
/usr/share/groff/1.22.3/tmac/mmse.tmac
/usr/share/groff/1.22.3/tmac/mom.tmac
/usr/share/groff/1.22.3/tmac/ms.tmac
/usr/share/groff/1.22.3/tmac/mse.tmac
/usr/share/groff/1.22.3/tmac/om.tmac
/usr/share/groff/1.22.3/tmac/pdfmark.tmac
/usr/share/groff/1.22.3/tmac/refer-me.tmac
/usr/share/groff/1.22.3/tmac/refer-mm.tmac
/usr/share/groff/1.22.3/tmac/refer-ms.tmac
/usr/share/groff/1.22.3/tmac/refer.tmac
/usr/share/groff/1.22.3/tmac/s.tmac
/usr/share/groff/1.22.3/tmac/spdf.tmac
/usr/share/groff/1.22.3/tmac/trace.tmac
/usr/share/info/groff.info-1.gz
/usr/share/info/groff.info-2.gz
/usr/share/info/groff.info.gz
/usr/share/man/man1/addftinfo.1.gz
/usr/share/man/man1/eqn2graph.1.gz
/usr/share/man/man1/gdiffmk.1.gz
/usr/share/man/man1/gindxbib.1.gz
/usr/share/man/man1/glookbib.1.gz
/usr/share/man/man1/grap2graph.1.gz
/usr/share/man/man1/grefer.1.gz
/usr/share/man/man1/grn.1.gz
/usr/share/man/man1/grodvi.1.gz
/usr/share/man/man1/grohtml.1.gz
/usr/share/man/man1/grolbp.1.gz
/usr/share/man/man1/grolj4.1.gz
/usr/share/man/man1/hpftodit.1.gz
/usr/share/man/man1/indxbib.1.gz
/usr/share/man/man1/lkbib.1.gz
/usr/share/man/man1/lookbib.1.gz
/usr/share/man/man1/pdfroff.1.gz
/usr/share/man/man1/pfbtops.1.gz
/usr/share/man/man1/pic2graph.1.gz
/usr/share/man/man1/refer.1.gz
/usr/share/man/man1/tfmtodit.1.gz
/usr/share/man/man5/groff_font.5.gz
/usr/share/man/man5/groff_out.5.gz
/usr/share/man/man5/groff_tmac.5.gz
/usr/share/man/man5/lj4_font.5.gz
/usr/share/man/man7/ditroff.7.gz
/usr/share/man/man7/groff.7.gz
/usr/share/man/man7/groff_char.7.gz
/usr/share/man/man7/groff_diff.7.gz
/usr/share/man/man7/groff_filenames.7.gz
/usr/share/man/man7/groff_hdtbl.7.gz
/usr/share/man/man7/groff_man.7.gz
/usr/share/man/man7/groff_mdoc.7.gz
/usr/share/man/man7/groff_me.7.gz
/usr/share/man/man7/groff_mm.7.gz
/usr/share/man/man7/groff_mmse.7.gz
/usr/share/man/man7/groff_mom.7.gz
/usr/share/man/man7/groff_ms.7.gz
/usr/share/man/man7/groff_trace.7.gz
/usr/share/man/man7/groff_www.7.gz
/usr/share/man/man7/roff.7.gz

References

Summary

In this tutorial we learn how to install groff on Rocky Linux 8 using yum and dnf.