How To Install gpm on Rocky Linux 8

In this tutorial we learn how to install gpm on Rocky Linux 8. gpm is A mouse server for the Linux console

Introduction

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

What is gpm

Gpm provides mouse support to text-based Linux applications like the Emacs editor and the Midnight Commander file management system. Gpm also provides console cut-and-paste operations using the mouse and includes a program to allow pop-up menus to appear at the click of a mouse button.

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

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

sudo dnf -y install gpm

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

sudo yum -y install gpm

How To Uninstall gpm on Rocky Linux 8

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

sudo dnf remove gpm

gpm Package Contents on Rocky Linux 8

/etc/gpm-root.conf
/etc/gpm-syn.conf
/etc/gpm-twiddler.conf
/usr/bin/disable-paste
/usr/bin/display-buttons
/usr/bin/display-coords
/usr/bin/get-versions
/usr/bin/gpm-root
/usr/bin/hltest
/usr/bin/mev
/usr/bin/mouse-test
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/2039bc6c0491d4087129e9a34fbb6624a94504
/usr/lib/.build-id/30
/usr/lib/.build-id/30/79827f05812e0a8c5bda2caca6e9d759eea4d0
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/38c0b27adf14d5daeadbd3ec7545a168888701
/usr/lib/.build-id/59
/usr/lib/.build-id/59/f94861b6cb7bef2093d353730da5428f5f5b65
/usr/lib/.build-id/76
/usr/lib/.build-id/76/03475ce7c0847bf415d95121fd1973d81c3723
/usr/lib/.build-id/83
/usr/lib/.build-id/83/049e7f7367688379fcf2192016e12e1d4a86d4
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/5e132848672efba25abbb452fc791afad3126c
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/ad32a8135722c2fe86ef23d8ebcdb6991d225d
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/b9b487362c72484b3f902628dfdd690ce7bb9e
/usr/lib/systemd/system/gpm.service
/usr/sbin/gpm
/usr/share/doc/gpm
/usr/share/doc/gpm/Announce
/usr/share/doc/gpm/COPYING
/usr/share/doc/gpm/FAQ
/usr/share/doc/gpm/README
/usr/share/doc/gpm/README.1.20.2
/usr/share/doc/gpm/README.etouch
/usr/share/doc/gpm/README.gunze
/usr/share/doc/gpm/README.microtouch
/usr/share/doc/gpm/README.synaptics
/usr/share/doc/gpm/README.twiddler
/usr/share/doc/gpm/TODO
/usr/share/doc/gpm/changelog
/usr/share/info/gpm.info.gz
/usr/share/man/man1/gpm-root.1.gz
/usr/share/man/man1/mev.1.gz
/usr/share/man/man1/mouse-test.1.gz
/usr/share/man/man7/gpm-types.7.gz
/usr/share/man/man8/gpm.8.gz

References

Summary

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