How To Install gpm on Fedora 34
Introduction
In this tutorial we learn how to install gpm
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gpm.
Install gpm on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install gpm
using dnf
by running the following command:
sudo dnf -y install gpm
Install gpm on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the gpm
package we can use the following command:
sudo dnf remove gpm
gpm Package Contents on Fedora 34
/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/2c
/usr/lib/.build-id/2c/871dc72d4b5f964c7fcb13c910ce72c2cec208
/usr/lib/.build-id/36
/usr/lib/.build-id/36/4225f41e051268a8119acb711d4a72612d42b5
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/d573e1db995196908a6c26d5d43f5757066409
/usr/lib/.build-id/77
/usr/lib/.build-id/77/9a138e6be0f0728970b71e75fe946f341b2561
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/c005468786a9f9945f8b3634a2217fe7ca8c43
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/d9a8fa0bcd9ea916fd7b919afef0a535c3a8eb
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/529c45aa6dbddad66e1804bfe31cfc54457db4
/usr/lib/.build-id/da
/usr/lib/.build-id/da/f9ec080120d22c5356172211437b2f8f726dc4
/usr/lib/.build-id/de
/usr/lib/.build-id/de/a82025b9ab8bfba6108e11bf3e46c9a95585d0
/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 Fedora 34 using yum and dnf.