How To Install groff on Fedora 36

In this tutorial we learn how to install groff in Fedora 36. groff is A document formatting system

Introduction

In this tutorial we learn how to install groff on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install groff.

Install groff on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove groff

groff Package Contents on Fedora 36

/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/03
/usr/lib/.build-id/03/df985bbedb8cf9cc1d60b4fd3276dc77da9a9a
/usr/lib/.build-id/05
/usr/lib/.build-id/05/a220533e39617a9f82a900aa87fbff0846b4a5
/usr/lib/.build-id/25
/usr/lib/.build-id/25/94091247fbed966940fc2f7a799f628c2f349e
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/8bc2f2d326d179b64df0c19f8a8b89c8f946f4
/usr/lib/.build-id/41
/usr/lib/.build-id/41/b9cda6b04b4d4ef470962ad3ae62028977fe58
/usr/lib/.build-id/56
/usr/lib/.build-id/56/dc3b245c3e89258dc88dd1c21a32f78f6f29dc
/usr/lib/.build-id/69
/usr/lib/.build-id/69/e08dd2efb6762ab05b93a662c4bd8249589308
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/88d91f5a85e51433044acd10a25e07e111b775
/usr/lib/.build-id/73
/usr/lib/.build-id/73/ed79d0792eb7c6d6eb5d262c8414f07d7f1899
/usr/lib/.build-id/94
/usr/lib/.build-id/94/57cf60b0a52156aa4a2ad3882451ef29e4c680
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/b5a6ef66543d3c6f0dc4acd0420673d9ea8ed5
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/c07c4f2b1e176ca46fb94ca4ab665c22cdfc9e
/usr/lib64/groff/groff_opts_no_arg.txt
/usr/lib64/groff/groff_opts_with_arg.txt
/usr/share/groff/1.22.4/font/devcp1047
/usr/share/groff/1.22.4/font/devcp1047/B
/usr/share/groff/1.22.4/font/devcp1047/BI
/usr/share/groff/1.22.4/font/devcp1047/DESC
/usr/share/groff/1.22.4/font/devcp1047/I
/usr/share/groff/1.22.4/font/devcp1047/R
/usr/share/groff/1.22.4/font/devdvi
/usr/share/groff/1.22.4/font/devdvi/CW
/usr/share/groff/1.22.4/font/devdvi/CWEC
/usr/share/groff/1.22.4/font/devdvi/CWI
/usr/share/groff/1.22.4/font/devdvi/CWIEC
/usr/share/groff/1.22.4/font/devdvi/CWITC
/usr/share/groff/1.22.4/font/devdvi/CWTC
/usr/share/groff/1.22.4/font/devdvi/DESC
/usr/share/groff/1.22.4/font/devdvi/EX
/usr/share/groff/1.22.4/font/devdvi/HB
/usr/share/groff/1.22.4/font/devdvi/HBEC
/usr/share/groff/1.22.4/font/devdvi/HBI
/usr/share/groff/1.22.4/font/devdvi/HBIEC
/usr/share/groff/1.22.4/font/devdvi/HBITC
/usr/share/groff/1.22.4/font/devdvi/HBTC
/usr/share/groff/1.22.4/font/devdvi/HI
/usr/share/groff/1.22.4/font/devdvi/HIEC
/usr/share/groff/1.22.4/font/devdvi/HITC
/usr/share/groff/1.22.4/font/devdvi/HR
/usr/share/groff/1.22.4/font/devdvi/HREC
/usr/share/groff/1.22.4/font/devdvi/HRTC
/usr/share/groff/1.22.4/font/devdvi/MI
/usr/share/groff/1.22.4/font/devdvi/S
/usr/share/groff/1.22.4/font/devdvi/SA
/usr/share/groff/1.22.4/font/devdvi/SB
/usr/share/groff/1.22.4/font/devdvi/SC
/usr/share/groff/1.22.4/font/devdvi/TB
/usr/share/groff/1.22.4/font/devdvi/TBEC
/usr/share/groff/1.22.4/font/devdvi/TBI
/usr/share/groff/1.22.4/font/devdvi/TBIEC
/usr/share/groff/1.22.4/font/devdvi/TBITC
/usr/share/groff/1.22.4/font/devdvi/TBTC
/usr/share/groff/1.22.4/font/devdvi/TI
/usr/share/groff/1.22.4/font/devdvi/TIEC
/usr/share/groff/1.22.4/font/devdvi/TITC
/usr/share/groff/1.22.4/font/devdvi/TR
/usr/share/groff/1.22.4/font/devdvi/TREC
/usr/share/groff/1.22.4/font/devdvi/TRTC
/usr/share/groff/1.22.4/font/devdvi/generate
/usr/share/groff/1.22.4/font/devdvi/generate/CompileFonts
/usr/share/groff/1.22.4/font/devdvi/generate/Makefile
/usr/share/groff/1.22.4/font/devdvi/generate/ec.map
/usr/share/groff/1.22.4/font/devdvi/generate/msam.map
/usr/share/groff/1.22.4/font/devdvi/generate/msbm.map
/usr/share/groff/1.22.4/font/devdvi/generate/tc.map
/usr/share/groff/1.22.4/font/devdvi/generate/texb.map
/usr/share/groff/1.22.4/font/devdvi/generate/texex.map
/usr/share/groff/1.22.4/font/devdvi/generate/texi.map
/usr/share/groff/1.22.4/font/devdvi/generate/texmi.map
/usr/share/groff/1.22.4/font/devdvi/generate/texr.map
/usr/share/groff/1.22.4/font/devdvi/generate/texsy.map
/usr/share/groff/1.22.4/font/devdvi/generate/textex.map
/usr/share/groff/1.22.4/font/devdvi/generate/textt.map
/usr/share/groff/1.22.4/font/devlbp
/usr/share/groff/1.22.4/font/devlbp/CB
/usr/share/groff/1.22.4/font/devlbp/CI
/usr/share/groff/1.22.4/font/devlbp/CR
/usr/share/groff/1.22.4/font/devlbp/DESC
/usr/share/groff/1.22.4/font/devlbp/EB
/usr/share/groff/1.22.4/font/devlbp/EI
/usr/share/groff/1.22.4/font/devlbp/ER
/usr/share/groff/1.22.4/font/devlbp/HB
/usr/share/groff/1.22.4/font/devlbp/HBI
/usr/share/groff/1.22.4/font/devlbp/HI
/usr/share/groff/1.22.4/font/devlbp/HNB
/usr/share/groff/1.22.4/font/devlbp/HNBI
/usr/share/groff/1.22.4/font/devlbp/HNI
/usr/share/groff/1.22.4/font/devlbp/HNR
/usr/share/groff/1.22.4/font/devlbp/HR
/usr/share/groff/1.22.4/font/devlbp/TB
/usr/share/groff/1.22.4/font/devlbp/TBI
/usr/share/groff/1.22.4/font/devlbp/TI
/usr/share/groff/1.22.4/font/devlbp/TR
/usr/share/groff/1.22.4/font/devlj4
/usr/share/groff/1.22.4/font/devlj4/AB
/usr/share/groff/1.22.4/font/devlj4/ABI
/usr/share/groff/1.22.4/font/devlj4/AI
/usr/share/groff/1.22.4/font/devlj4/ALBB
/usr/share/groff/1.22.4/font/devlj4/ALBR
/usr/share/groff/1.22.4/font/devlj4/AOB
/usr/share/groff/1.22.4/font/devlj4/AOI
/usr/share/groff/1.22.4/font/devlj4/AOR
/usr/share/groff/1.22.4/font/devlj4/AR
/usr/share/groff/1.22.4/font/devlj4/CB
/usr/share/groff/1.22.4/font/devlj4/CBI
/usr/share/groff/1.22.4/font/devlj4/CI
/usr/share/groff/1.22.4/font/devlj4/CLARENDON
/usr/share/groff/1.22.4/font/devlj4/CORONET
/usr/share/groff/1.22.4/font/devlj4/CR
/usr/share/groff/1.22.4/font/devlj4/DESC
/usr/share/groff/1.22.4/font/devlj4/GB
/usr/share/groff/1.22.4/font/devlj4/GBI
/usr/share/groff/1.22.4/font/devlj4/GI
/usr/share/groff/1.22.4/font/devlj4/GR
/usr/share/groff/1.22.4/font/devlj4/LGB
/usr/share/groff/1.22.4/font/devlj4/LGI
/usr/share/groff/1.22.4/font/devlj4/LGR
/usr/share/groff/1.22.4/font/devlj4/MARIGOLD
/usr/share/groff/1.22.4/font/devlj4/OB
/usr/share/groff/1.22.4/font/devlj4/OBI
/usr/share/groff/1.22.4/font/devlj4/OI
/usr/share/groff/1.22.4/font/devlj4/OR
/usr/share/groff/1.22.4/font/devlj4/S
/usr/share/groff/1.22.4/font/devlj4/SYMBOL
/usr/share/groff/1.22.4/font/devlj4/TB
/usr/share/groff/1.22.4/font/devlj4/TBI
/usr/share/groff/1.22.4/font/devlj4/TI
/usr/share/groff/1.22.4/font/devlj4/TNRB
/usr/share/groff/1.22.4/font/devlj4/TNRBI
/usr/share/groff/1.22.4/font/devlj4/TNRI
/usr/share/groff/1.22.4/font/devlj4/TNRR
/usr/share/groff/1.22.4/font/devlj4/TR
/usr/share/groff/1.22.4/font/devlj4/UB
/usr/share/groff/1.22.4/font/devlj4/UBI
/usr/share/groff/1.22.4/font/devlj4/UCB
/usr/share/groff/1.22.4/font/devlj4/UCBI
/usr/share/groff/1.22.4/font/devlj4/UCI
/usr/share/groff/1.22.4/font/devlj4/UCR
/usr/share/groff/1.22.4/font/devlj4/UI
/usr/share/groff/1.22.4/font/devlj4/UR
/usr/share/groff/1.22.4/font/devlj4/WINGDINGS
/usr/share/groff/1.22.4/font/devlj4/generate
/usr/share/groff/1.22.4/font/devlj4/generate/Makefile
/usr/share/groff/1.22.4/font/devlj4/generate/special.awk
/usr/share/groff/1.22.4/font/devlj4/generate/special.map
/usr/share/groff/1.22.4/font/devlj4/generate/symbol.map
/usr/share/groff/1.22.4/font/devlj4/generate/text.map
/usr/share/groff/1.22.4/font/devlj4/generate/wingdings.map
/usr/share/groff/1.22.4/oldfont
/usr/share/groff/1.22.4/oldfont/devps
/usr/share/groff/1.22.4/oldfont/devps/CB
/usr/share/groff/1.22.4/oldfont/devps/CBI
/usr/share/groff/1.22.4/oldfont/devps/CI
/usr/share/groff/1.22.4/oldfont/devps/CR
/usr/share/groff/1.22.4/oldfont/devps/HB
/usr/share/groff/1.22.4/oldfont/devps/HBI
/usr/share/groff/1.22.4/oldfont/devps/HI
/usr/share/groff/1.22.4/oldfont/devps/HNB
/usr/share/groff/1.22.4/oldfont/devps/HNBI
/usr/share/groff/1.22.4/oldfont/devps/HNI
/usr/share/groff/1.22.4/oldfont/devps/HNR
/usr/share/groff/1.22.4/oldfont/devps/HR
/usr/share/groff/1.22.4/oldfont/devps/NB
/usr/share/groff/1.22.4/oldfont/devps/NBI
/usr/share/groff/1.22.4/oldfont/devps/NI
/usr/share/groff/1.22.4/oldfont/devps/NR
/usr/share/groff/1.22.4/oldfont/devps/PB
/usr/share/groff/1.22.4/oldfont/devps/PBI
/usr/share/groff/1.22.4/oldfont/devps/PI
/usr/share/groff/1.22.4/oldfont/devps/PR
/usr/share/groff/1.22.4/oldfont/devps/S
/usr/share/groff/1.22.4/oldfont/devps/SS
/usr/share/groff/1.22.4/oldfont/devps/TB
/usr/share/groff/1.22.4/oldfont/devps/TBI
/usr/share/groff/1.22.4/oldfont/devps/TI
/usr/share/groff/1.22.4/oldfont/devps/TR
/usr/share/groff/1.22.4/oldfont/devps/symbol.afm
/usr/share/groff/1.22.4/oldfont/devps/symbolsl.afm
/usr/share/groff/1.22.4/oldfont/devps/zapfdr.afm
/usr/share/groff/1.22.4/oldfont/devps/zapfdr.ps
/usr/share/groff/1.22.4/pic
/usr/share/groff/1.22.4/pic/chem.pic
/usr/share/groff/1.22.4/tmac/62bit.tmac
/usr/share/groff/1.22.4/tmac/a4.tmac
/usr/share/groff/1.22.4/tmac/dvi.tmac
/usr/share/groff/1.22.4/tmac/e.tmac
/usr/share/groff/1.22.4/tmac/ec.tmac
/usr/share/groff/1.22.4/tmac/hdmisc.tmac
/usr/share/groff/1.22.4/tmac/hdtbl.tmac
/usr/share/groff/1.22.4/tmac/lbp.tmac
/usr/share/groff/1.22.4/tmac/lj4.tmac
/usr/share/groff/1.22.4/tmac/m.tmac
/usr/share/groff/1.22.4/tmac/me.tmac
/usr/share/groff/1.22.4/tmac/mm
/usr/share/groff/1.22.4/tmac/mm.tmac
/usr/share/groff/1.22.4/tmac/mm/0.MT
/usr/share/groff/1.22.4/tmac/mm/4.MT
/usr/share/groff/1.22.4/tmac/mm/5.MT
/usr/share/groff/1.22.4/tmac/mm/locale
/usr/share/groff/1.22.4/tmac/mm/ms.cov
/usr/share/groff/1.22.4/tmac/mm/se_locale
/usr/share/groff/1.22.4/tmac/mm/se_ms.cov
/usr/share/groff/1.22.4/tmac/mmse.tmac
/usr/share/groff/1.22.4/tmac/mom.tmac
/usr/share/groff/1.22.4/tmac/ms.tmac
/usr/share/groff/1.22.4/tmac/mse.tmac
/usr/share/groff/1.22.4/tmac/om.tmac
/usr/share/groff/1.22.4/tmac/pdfmark.tmac
/usr/share/groff/1.22.4/tmac/refer-me.tmac
/usr/share/groff/1.22.4/tmac/refer-mm.tmac
/usr/share/groff/1.22.4/tmac/refer-ms.tmac
/usr/share/groff/1.22.4/tmac/refer.tmac
/usr/share/groff/1.22.4/tmac/s.tmac
/usr/share/groff/1.22.4/tmac/spdf.tmac
/usr/share/groff/1.22.4/tmac/trace.tmac
/usr/share/groff/1.22.4/tmac/zh.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_filenames.5.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_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
/usr/share/man/man7/roff.groff.7.gz

References

Summary

In this tutorial we learn how to install groff on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).