How To Install libdbusmenu on Rocky Linux 8

In this tutorial we learn how to install libdbusmenu on Rocky Linux 8. libdbusmenu is Library for passing menus over DBus

Introduction

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

What is libdbusmenu

This is a small library designed to make sharing and displaying of menu structures over DBus simple and easy to use. It works for both QT and GTK+ and makes building menus simple.

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

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

sudo dnf -y install libdbusmenu

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

sudo yum -y install libdbusmenu

How To Uninstall libdbusmenu on Rocky Linux 8

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

sudo dnf remove libdbusmenu

libdbusmenu Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/517d635c9ef057c710ff26fbca733c707b6ad1
/usr/lib/girepository-1.0/Dbusmenu-0.4.typelib
/usr/lib/libdbusmenu-glib.so.4
/usr/lib/libdbusmenu-glib.so.4.0.12
/usr/share/doc/libdbusmenu
/usr/share/doc/libdbusmenu/AUTHORS
/usr/share/doc/libdbusmenu/ChangeLog
/usr/share/doc/libdbusmenu/README
/usr/share/licenses/libdbusmenu
/usr/share/licenses/libdbusmenu/COPYING
/usr/share/licenses/libdbusmenu/COPYING-GPL3
/usr/share/licenses/libdbusmenu/COPYING.2.1
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/f28a15215b95d8898a724ec403b796da89fe6d
/usr/lib64/girepository-1.0/Dbusmenu-0.4.typelib
/usr/lib64/libdbusmenu-glib.so.4
/usr/lib64/libdbusmenu-glib.so.4.0.12
/usr/share/doc/libdbusmenu
/usr/share/doc/libdbusmenu/AUTHORS
/usr/share/doc/libdbusmenu/ChangeLog
/usr/share/doc/libdbusmenu/README
/usr/share/licenses/libdbusmenu
/usr/share/licenses/libdbusmenu/COPYING
/usr/share/licenses/libdbusmenu/COPYING-GPL3
/usr/share/licenses/libdbusmenu/COPYING.2.1

References

Summary

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