How To Install groff on Fedora 34

groff is A document formatting system

Introduction

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

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

Install groff on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install groff

Install groff on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove groff

groff Package Contents on Fedora 34

/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/20
/usr/lib/.build-id/20/5a817a580bc860390535157ea6679f24684c37
/usr/lib/.build-id/26
/usr/lib/.build-id/26/19099decc0daf2640739d614edb3a2ae5d0ae4
/usr/lib/.build-id/43
/usr/lib/.build-id/43/00091a1f25b4a0b5142943ef9438129b719801
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/ef9cdeae33e1b670af1ed5a7a98ebe38310c83
/usr/lib/.build-id/82
/usr/lib/.build-id/82/5ebbb7ad9339c2746f4bf61be3f28469bec110
/usr/lib/.build-id/85
/usr/lib/.build-id/85/4554e8a5dd361b2e93207dd431d15ae0aa6203
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/c59634bb21e1bcc3de82bdc2ea105a524395ad
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/1beeb148b79a7c03464674188d6526fe027456
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/c0e972280449c071231926e2d4b9da5c4808cb
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/aa264e487d4ee1f3592d6584cffb31c6332975
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/95e1805b22d93d99b405f1ca38b43d01113797
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/9ac3c4a53916a539c390aed337f61e8ee952b2
/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 34 using yum and dnf.