How To Install dbus-libs on Rocky Linux 8

In this tutorial we learn how to install dbus-libs on Rocky Linux 8. dbus-libs is Libraries for accessing D-BUS

Introduction

In this tutorial we learn how to install dbus-libs on Rocky Linux 8.

What is dbus-libs

This package contains lowlevel libraries for accessing D-BUS.

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

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

sudo dnf -y install dbus-libs

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

sudo yum -y install dbus-libs

How To Uninstall dbus-libs on Rocky Linux 8

To uninstall only the dbus-libs package we can use the following command:

sudo dnf remove dbus-libs

dbus-libs Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/28344e673e7fba7b378276beae5c643be5d502
/usr/lib/libdbus-1.so.3
/usr/lib/libdbus-1.so.3.19.7
/usr/share/licenses/dbus-libs
/usr/share/licenses/dbus-libs/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/2fdda518303bca46fad195ca550b6d70dd5735
/usr/lib64/libdbus-1.so.3
/usr/lib64/libdbus-1.so.3.19.7
/usr/share/licenses/dbus-libs
/usr/share/licenses/dbus-libs/COPYING

References

Summary

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