How To Install gpm.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gpm.x86_64 in Amazon Linux 2. gpm.x86_64 is A mouse server for the Linux console

Introduction

In this tutorial we learn how to install gpm.x86_64 on Amazon Linux 2.

What is gpm.x86_64

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 to install gpm.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gpm.x86_64.

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

sudo yum -y install gpm.x86_64

How To Uninstall gpm.x86_64 on Amazon Linux 2

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

sudo yum remove gpm.x86_64

gpm.x86_64 Package Contents on Amazon Linux 2

/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/systemd/system/gpm.service
/usr/sbin/gpm
/usr/share/doc/gpm-1.20.7
/usr/share/doc/gpm-1.20.7/Announce
/usr/share/doc/gpm-1.20.7/COPYING
/usr/share/doc/gpm-1.20.7/FAQ
/usr/share/doc/gpm-1.20.7/README
/usr/share/doc/gpm-1.20.7/README.1.20.2
/usr/share/doc/gpm-1.20.7/README.etouch
/usr/share/doc/gpm-1.20.7/README.gunze
/usr/share/doc/gpm-1.20.7/README.microtouch
/usr/share/doc/gpm-1.20.7/README.synaptics
/usr/share/doc/gpm-1.20.7/README.twiddler
/usr/share/doc/gpm-1.20.7/TODO
/usr/share/doc/gpm-1.20.7/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.x86_64 on Amazon Linux 2 using yum.