How To Install dbus-devel on Rocky Linux 8

In this tutorial we learn how to install dbus-devel on Rocky Linux 8. dbus-devel is Development files for D-BUS

Introduction

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

What is dbus-devel

This package contains libraries and header files needed for developing software that uses D-BUS.

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

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

sudo dnf -y install dbus-devel

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

sudo yum -y install dbus-devel

How To Uninstall dbus-devel on Rocky Linux 8

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

sudo dnf remove dbus-devel

dbus-devel Package Contents on Rocky Linux 8

/usr/include/dbus-1.0
/usr/include/dbus-1.0/dbus
/usr/include/dbus-1.0/dbus/dbus-address.h
/usr/include/dbus-1.0/dbus/dbus-bus.h
/usr/include/dbus-1.0/dbus/dbus-connection.h
/usr/include/dbus-1.0/dbus/dbus-errors.h
/usr/include/dbus-1.0/dbus/dbus-macros.h
/usr/include/dbus-1.0/dbus/dbus-memory.h
/usr/include/dbus-1.0/dbus/dbus-message.h
/usr/include/dbus-1.0/dbus/dbus-misc.h
/usr/include/dbus-1.0/dbus/dbus-pending-call.h
/usr/include/dbus-1.0/dbus/dbus-protocol.h
/usr/include/dbus-1.0/dbus/dbus-server.h
/usr/include/dbus-1.0/dbus/dbus-shared.h
/usr/include/dbus-1.0/dbus/dbus-signature.h
/usr/include/dbus-1.0/dbus/dbus-syntax.h
/usr/include/dbus-1.0/dbus/dbus-threads.h
/usr/include/dbus-1.0/dbus/dbus-types.h
/usr/include/dbus-1.0/dbus/dbus.h
/usr/lib/cmake/DBus1
/usr/lib/cmake/DBus1/DBus1Config.cmake
/usr/lib/cmake/DBus1/DBus1ConfigVersion.cmake
/usr/lib/dbus-1.0
/usr/lib/dbus-1.0/include
/usr/lib/dbus-1.0/include/dbus
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
/usr/lib/libdbus-1.so
/usr/lib/pkgconfig/dbus-1.pc
/usr/share/xml/dbus-1
/usr/share/xml/dbus-1/busconfig.dtd
/usr/share/xml/dbus-1/introspect.dtd
/usr/include/dbus-1.0
/usr/include/dbus-1.0/dbus
/usr/include/dbus-1.0/dbus/dbus-address.h
/usr/include/dbus-1.0/dbus/dbus-bus.h
/usr/include/dbus-1.0/dbus/dbus-connection.h
/usr/include/dbus-1.0/dbus/dbus-errors.h
/usr/include/dbus-1.0/dbus/dbus-macros.h
/usr/include/dbus-1.0/dbus/dbus-memory.h
/usr/include/dbus-1.0/dbus/dbus-message.h
/usr/include/dbus-1.0/dbus/dbus-misc.h
/usr/include/dbus-1.0/dbus/dbus-pending-call.h
/usr/include/dbus-1.0/dbus/dbus-protocol.h
/usr/include/dbus-1.0/dbus/dbus-server.h
/usr/include/dbus-1.0/dbus/dbus-shared.h
/usr/include/dbus-1.0/dbus/dbus-signature.h
/usr/include/dbus-1.0/dbus/dbus-syntax.h
/usr/include/dbus-1.0/dbus/dbus-threads.h
/usr/include/dbus-1.0/dbus/dbus-types.h
/usr/include/dbus-1.0/dbus/dbus.h
/usr/lib64/cmake/DBus1
/usr/lib64/cmake/DBus1/DBus1Config.cmake
/usr/lib64/cmake/DBus1/DBus1ConfigVersion.cmake
/usr/lib64/dbus-1.0
/usr/lib64/dbus-1.0/include
/usr/lib64/dbus-1.0/include/dbus
/usr/lib64/dbus-1.0/include/dbus/dbus-arch-deps.h
/usr/lib64/libdbus-1.so
/usr/lib64/pkgconfig/dbus-1.pc
/usr/share/xml/dbus-1
/usr/share/xml/dbus-1/busconfig.dtd
/usr/share/xml/dbus-1/introspect.dtd

References

Summary

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