How To Install groff-x11.x86_64 on Amazon Linux 2

In this tutorial we learn how to install groff-x11.x86_64 in Amazon Linux 2. groff-x11.x86_64 is Parts of the groff formatting system that require X Windows System

Introduction

In this tutorial we learn how to install groff-x11.x86_64 on Amazon Linux 2.

What is groff-x11.x86_64

The groff-x11 package contains the parts of the groff text processor package that require X Windows System. These include gxditview (display groff intermediate output files on X Window System display) and xtotroff (converts X font metrics into groff font metrics).

We can use yum to install groff-x11.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install groff-x11.x86_64.

Install groff-x11.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install groff-x11.x86_64

How To Uninstall groff-x11.x86_64 on Amazon Linux 2

To uninstall only the groff-x11.x86_64 package we can use the following command:

sudo yum remove groff-x11.x86_64

groff-x11.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gxditview
/usr/bin/xtotroff
/usr/share/X11/app-defaults/GXditview
/usr/share/X11/app-defaults/GXditview-color
/usr/share/groff/1.22.2/font/devX100
/usr/share/groff/1.22.2/font/devX100-12
/usr/share/groff/1.22.2/font/devX100-12/CB
/usr/share/groff/1.22.2/font/devX100-12/CBI
/usr/share/groff/1.22.2/font/devX100-12/CI
/usr/share/groff/1.22.2/font/devX100-12/CR
/usr/share/groff/1.22.2/font/devX100-12/DESC
/usr/share/groff/1.22.2/font/devX100-12/HB
/usr/share/groff/1.22.2/font/devX100-12/HBI
/usr/share/groff/1.22.2/font/devX100-12/HI
/usr/share/groff/1.22.2/font/devX100-12/HR
/usr/share/groff/1.22.2/font/devX100-12/NB
/usr/share/groff/1.22.2/font/devX100-12/NBI
/usr/share/groff/1.22.2/font/devX100-12/NI
/usr/share/groff/1.22.2/font/devX100-12/NR
/usr/share/groff/1.22.2/font/devX100-12/S
/usr/share/groff/1.22.2/font/devX100-12/TB
/usr/share/groff/1.22.2/font/devX100-12/TBI
/usr/share/groff/1.22.2/font/devX100-12/TI
/usr/share/groff/1.22.2/font/devX100-12/TR
/usr/share/groff/1.22.2/font/devX100/CB
/usr/share/groff/1.22.2/font/devX100/CBI
/usr/share/groff/1.22.2/font/devX100/CI
/usr/share/groff/1.22.2/font/devX100/CR
/usr/share/groff/1.22.2/font/devX100/DESC
/usr/share/groff/1.22.2/font/devX100/HB
/usr/share/groff/1.22.2/font/devX100/HBI
/usr/share/groff/1.22.2/font/devX100/HI
/usr/share/groff/1.22.2/font/devX100/HR
/usr/share/groff/1.22.2/font/devX100/NB
/usr/share/groff/1.22.2/font/devX100/NBI
/usr/share/groff/1.22.2/font/devX100/NI
/usr/share/groff/1.22.2/font/devX100/NR
/usr/share/groff/1.22.2/font/devX100/S
/usr/share/groff/1.22.2/font/devX100/TB
/usr/share/groff/1.22.2/font/devX100/TBI
/usr/share/groff/1.22.2/font/devX100/TI
/usr/share/groff/1.22.2/font/devX100/TR
/usr/share/groff/1.22.2/font/devX75
/usr/share/groff/1.22.2/font/devX75-12
/usr/share/groff/1.22.2/font/devX75-12/CB
/usr/share/groff/1.22.2/font/devX75-12/CBI
/usr/share/groff/1.22.2/font/devX75-12/CI
/usr/share/groff/1.22.2/font/devX75-12/CR
/usr/share/groff/1.22.2/font/devX75-12/DESC
/usr/share/groff/1.22.2/font/devX75-12/HB
/usr/share/groff/1.22.2/font/devX75-12/HBI
/usr/share/groff/1.22.2/font/devX75-12/HI
/usr/share/groff/1.22.2/font/devX75-12/HR
/usr/share/groff/1.22.2/font/devX75-12/NB
/usr/share/groff/1.22.2/font/devX75-12/NBI
/usr/share/groff/1.22.2/font/devX75-12/NI
/usr/share/groff/1.22.2/font/devX75-12/NR
/usr/share/groff/1.22.2/font/devX75-12/S
/usr/share/groff/1.22.2/font/devX75-12/TB
/usr/share/groff/1.22.2/font/devX75-12/TBI
/usr/share/groff/1.22.2/font/devX75-12/TI
/usr/share/groff/1.22.2/font/devX75-12/TR
/usr/share/groff/1.22.2/font/devX75/CB
/usr/share/groff/1.22.2/font/devX75/CBI
/usr/share/groff/1.22.2/font/devX75/CI
/usr/share/groff/1.22.2/font/devX75/CR
/usr/share/groff/1.22.2/font/devX75/DESC
/usr/share/groff/1.22.2/font/devX75/HB
/usr/share/groff/1.22.2/font/devX75/HBI
/usr/share/groff/1.22.2/font/devX75/HI
/usr/share/groff/1.22.2/font/devX75/HR
/usr/share/groff/1.22.2/font/devX75/NB
/usr/share/groff/1.22.2/font/devX75/NBI
/usr/share/groff/1.22.2/font/devX75/NI
/usr/share/groff/1.22.2/font/devX75/NR
/usr/share/groff/1.22.2/font/devX75/S
/usr/share/groff/1.22.2/font/devX75/TB
/usr/share/groff/1.22.2/font/devX75/TBI
/usr/share/groff/1.22.2/font/devX75/TI
/usr/share/groff/1.22.2/font/devX75/TR
/usr/share/groff/1.22.2/tmac/X.tmac
/usr/share/groff/1.22.2/tmac/Xps.tmac
/usr/share/man/man1/gxditview.1.gz
/usr/share/man/man1/xtotroff.1.gz

References

Summary

In this tutorial we learn how to install groff-x11.x86_64 on Amazon Linux 2 using yum.