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

In this tutorial we learn how to install dbus-glib.x86_64 in Amazon Linux 2. dbus-glib.x86_64 is GLib bindings for D-Bus

Introduction

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

What is dbus-glib.x86_64

D-Bus add-on library to integrate the standard D-Bus library with the GLib thread abstraction and main loop.

We can use yum to install dbus-glib.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-glib.x86_64.

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

sudo yum -y install dbus-glib.x86_64

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

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

sudo yum remove dbus-glib.x86_64

dbus-glib.x86_64 Package Contents on Amazon Linux 2

/usr/bin/dbus-binding-tool
/usr/lib64/libdbus-glib-1.so.2
/usr/lib64/libdbus-glib-1.so.2.2.2
/usr/share/doc/dbus-glib-0.100
/usr/share/doc/dbus-glib-0.100/COPYING
/usr/share/doc/dbus-glib-0.100/NEWS

References

Summary

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