How To Install gpm on CentOS 7
Introduction
In this tutorial we learn how to install gpm
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gpm.
Install gpm on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install gpm
using yum
by running the following command:
sudo yum -y install gpm
Install gpm on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install gpm
using dnf
by running the following command:
sudo dnf -y install gpm
How To Uninstall gpm on CentOS 7
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 CentOS 7 using yum
and dnf
.