How To Install gpm on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install gpm on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gpm.

Install gpm on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove gpm

References

Summary

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