How To Install setxkbmap on Fedora 36

In this tutorial we learn how to install setxkbmap in Fedora 36. setxkbmap is X11 keymap client

Introduction

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

What is setxkbmap

setxkbmap is an X11 client to change the keymaps in the X server for a specified keyboard to use the layout determined by the options listed on the command line.

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

Install setxkbmap 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 setxkbmap using dnf by running the following command:

sudo dnf -y install setxkbmap

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

sudo yum -y install setxkbmap

How To Uninstall setxkbmap on Fedora 36

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

sudo dnf remove setxkbmap

setxkbmap Package Contents on Fedora 36

/usr/bin/setxkbmap
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/d9ad210f452b6af99a1dca7417d50b5b1f0248
/usr/share/licenses/setxkbmap
/usr/share/licenses/setxkbmap/COPYING
/usr/share/man/man1/setxkbmap.1.gz

References

Summary

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