How To Install gxkb on Rocky Linux 8

In this tutorial we learn how to install gxkb on Rocky Linux 8. gxkb is X11 keyboard indicator and switcher

Introduction

In this tutorial we learn how to install gxkb on Rocky Linux 8.

What is gxkb

gxkb is a tiny indicator applet which allows to quickly switch between different keyboard layouts in X. A flag corresponding to the country of the active layout is shown in the indicator area. The applet is written in C and uses GTK+ library and therefore does not depend on any GNOME components.

We can use yum or dnf to install gxkb on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gxkb.

Install gxkb on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install gxkb

Install gxkb on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gxkb

How To Uninstall gxkb on Rocky Linux 8

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

sudo dnf remove gxkb

gxkb Package Contents on Rocky Linux 8

/usr/bin/gxkb
/usr/lib/.build-id
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/ece2f13067c079c8cfca32c1a3667c053539cf
/usr/share/applications/gxkb.desktop
/usr/share/doc/gxkb
/usr/share/doc/gxkb/AUTHORS
/usr/share/doc/gxkb/CREDITS
/usr/share/doc/gxkb/NEWS
/usr/share/doc/gxkb/README.md
/usr/share/gxkb
/usr/share/gxkb/flags
/usr/share/gxkb/flags/am.png
/usr/share/gxkb/flags/bg.png
/usr/share/gxkb/flags/by.png
/usr/share/gxkb/flags/cz.png
/usr/share/gxkb/flags/cz_qwerty.png
/usr/share/gxkb/flags/de.png
/usr/share/gxkb/flags/ee.png
/usr/share/gxkb/flags/es.png
/usr/share/gxkb/flags/fi.png
/usr/share/gxkb/flags/fr.png
/usr/share/gxkb/flags/gb.png
/usr/share/gxkb/flags/ge.png
/usr/share/gxkb/flags/gr.png
/usr/share/gxkb/flags/hr.png
/usr/share/gxkb/flags/hu.png
/usr/share/gxkb/flags/is.png
/usr/share/gxkb/flags/it.png
/usr/share/gxkb/flags/kz.png
/usr/share/gxkb/flags/lt.png
/usr/share/gxkb/flags/lv.png
/usr/share/gxkb/flags/no.png
/usr/share/gxkb/flags/pl.png
/usr/share/gxkb/flags/pt.png
/usr/share/gxkb/flags/ro.png
/usr/share/gxkb/flags/ru.png
/usr/share/gxkb/flags/se.png
/usr/share/gxkb/flags/si.png
/usr/share/gxkb/flags/sk.png
/usr/share/gxkb/flags/sr.png
/usr/share/gxkb/flags/ua.png
/usr/share/gxkb/flags/us.png
/usr/share/gxkb/flags/uz.png
/usr/share/gxkb/flags/zz.png
/usr/share/gxkb/logo.png
/usr/share/licenses/gxkb
/usr/share/licenses/gxkb/COPYING
/usr/share/man/man1/gxkb.1.gz
/usr/share/pixmaps/gxkb.xpm

References

Summary

In this tutorial we learn how to install gxkb on Rocky Linux 8 using yum and dnf.