How To Install dbus-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dbus-devel.x86_64 in Amazon Linux 2. dbus-devel.x86_64 is Development files for D-BUS

Introduction

In this tutorial we learn how to install dbus-devel.x86_64 on Amazon Linux 2.

What is dbus-devel.x86_64

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

We can use yum to install dbus-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dbus-devel.x86_64.

Install dbus-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dbus-devel.x86_64 using yum by running the following command:

sudo yum -y install dbus-devel.x86_64

How To Uninstall dbus-devel.x86_64 on Amazon Linux 2

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

sudo yum remove dbus-devel.x86_64

dbus-devel.x86_64 Package Contents on Amazon Linux 2

/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/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

References

Summary

In this tutorial we learn how to install dbus-devel.x86_64 on Amazon Linux 2 using yum.