How To Install dbus.x86_64 on Amazon Linux 2

In this tutorial we learn how to install dbus.x86_64 in Amazon Linux 2. dbus.x86_64 is D-BUS message bus

Introduction

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

What is dbus.x86_64

D-BUS is a system for sending messages between applications. It is used both for the system-wide message bus service, and as a per-user-login-session messaging facility.

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

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

sudo yum -y install dbus.x86_64

How To Uninstall dbus.x86_64 on Amazon Linux 2

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

sudo yum remove dbus.x86_64

dbus.x86_64 Package Contents on Amazon Linux 2

/etc/dbus-1
/etc/dbus-1/session.conf
/etc/dbus-1/session.d
/etc/dbus-1/system.conf
/etc/dbus-1/system.d
/run/dbus
/usr/bin/dbus-cleanup-sockets
/usr/bin/dbus-daemon
/usr/bin/dbus-monitor
/usr/bin/dbus-run-session
/usr/bin/dbus-send
/usr/bin/dbus-test-tool
/usr/bin/dbus-update-activation-environment
/usr/bin/dbus-uuidgen
/usr/lib/systemd/system/dbus.service
/usr/lib/systemd/system/dbus.socket
/usr/lib/systemd/system/messagebus.service
/usr/lib/systemd/system/multi-user.target.wants/dbus.service
/usr/lib/systemd/system/sockets.target.wants/dbus.socket
/usr/libexec/dbus-1
/usr/libexec/dbus-1/dbus-daemon-launch-helper
/usr/share/dbus-1
/usr/share/dbus-1/interfaces
/usr/share/dbus-1/services
/usr/share/dbus-1/session.conf
/usr/share/dbus-1/system-services
/usr/share/dbus-1/system.conf
/usr/share/doc/dbus-1.10.24
/usr/share/doc/dbus-1.10.24/AUTHORS
/usr/share/doc/dbus-1.10.24/ChangeLog
/usr/share/doc/dbus-1.10.24/HACKING
/usr/share/doc/dbus-1.10.24/NEWS
/usr/share/doc/dbus-1.10.24/README
/usr/share/doc/dbus-1.10.24/examples
/usr/share/doc/dbus-1.10.24/examples/GetAllMatchRules.py
/usr/share/doc/dbus-1.10.24/examples/GetAllMatchRules.pyc
/usr/share/doc/dbus-1.10.24/examples/GetAllMatchRules.pyo
/usr/share/doc/dbus-1.10.24/examples/example-session-disable-stats.conf
/usr/share/doc/dbus-1.10.24/examples/example-system-enable-stats.conf
/usr/share/licenses/dbus-1.10.24
/usr/share/licenses/dbus-1.10.24/COPYING
/usr/share/man/man1/dbus-cleanup-sockets.1.gz
/usr/share/man/man1/dbus-daemon.1.gz
/usr/share/man/man1/dbus-monitor.1.gz
/usr/share/man/man1/dbus-run-session.1.gz
/usr/share/man/man1/dbus-send.1.gz
/usr/share/man/man1/dbus-test-tool.1.gz
/usr/share/man/man1/dbus-update-activation-environment.1.gz
/usr/share/man/man1/dbus-uuidgen.1.gz
/var/lib/dbus

References

Summary

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