How To Install xmodmap on Fedora 36

In this tutorial we learn how to install xmodmap in Fedora 36. xmodmap is Edit and display the X11 core keyboard map

Introduction

In this tutorial we learn how to install xmodmap on Fedora 36.

What is xmodmap

The xmodmap program is used to edit and display the keyboard modifier map and keymap table that are used by client applications to convert event keycodes into keysyms.

We can use yum or dnf to install xmodmap on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xmodmap.

Install xmodmap on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xmodmap using dnf by running the following command:

sudo dnf -y install xmodmap

Install xmodmap on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xmodmap using yum by running the following command:

sudo yum -y install xmodmap

How To Uninstall xmodmap on Fedora 36

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

sudo dnf remove xmodmap

xmodmap Package Contents on Fedora 36

/usr/bin/xmodmap
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/8fb0f729cb1a49302d3e189c68dfa5a6fc97f5
/usr/share/licenses/xmodmap
/usr/share/licenses/xmodmap/COPYING
/usr/share/man/man1/xmodmap.1.gz

References

Summary

In this tutorial we learn how to install xmodmap on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).