How To Install xterm on Rocky Linux 8

In this tutorial we learn how to install xterm on Rocky Linux 8. xterm is Terminal emulator for the X Window System

Introduction

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

What is xterm

The xterm program is a terminal emulator for the X Window System. It provides DEC VT102 and Tektronix 4014 compatible terminals for programs that can’t use the window system directly.

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

Install xterm 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 xterm using dnf by running the following command:

sudo dnf -y install xterm

Install xterm 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 xterm using yum by running the following command:

sudo yum -y install xterm

How To Uninstall xterm on Rocky Linux 8

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

sudo dnf remove xterm

xterm Package Contents on Rocky Linux 8

/usr/bin/koi8rxterm
/usr/bin/uxterm
/usr/bin/xterm
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/289559d7dd4e2af53708da9e590306f8995b92
/usr/share/X11/app-defaults/KOI8RXTerm
/usr/share/X11/app-defaults/KOI8RXTerm-color
/usr/share/X11/app-defaults/UXTerm
/usr/share/X11/app-defaults/UXTerm-color
/usr/share/X11/app-defaults/XTerm
/usr/share/X11/app-defaults/XTerm-color
/usr/share/appdata/xterm.appdata.xml
/usr/share/applications/xterm.desktop
/usr/share/doc/xterm
/usr/share/doc/xterm/16colors.txt
/usr/share/doc/xterm/README.i18n
/usr/share/doc/xterm/THANKS
/usr/share/doc/xterm/ctlseqs.txt
/usr/share/doc/xterm/xterm.log.html
/usr/share/icons/hicolor/48x48/apps/xterm-color.png
/usr/share/icons/hicolor/scalable/apps/xterm-color.svg
/usr/share/man/man1/koi8rxterm.1.gz
/usr/share/man/man1/uxterm.1.gz
/usr/share/man/man1/xterm.1.gz
/usr/share/pixmaps/filled-xterm_32x32.xpm
/usr/share/pixmaps/filled-xterm_48x48.xpm
/usr/share/pixmaps/mini.xterm_32x32.xpm
/usr/share/pixmaps/mini.xterm_48x48.xpm
/usr/share/pixmaps/xterm-color_32x32.xpm
/usr/share/pixmaps/xterm-color_48x48.xpm
/usr/share/pixmaps/xterm_32x32.xpm
/usr/share/pixmaps/xterm_48x48.xpm

References

Summary

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