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

In this tutorial we learn how to install dbus-python.x86_64 in Amazon Linux 2. dbus-python.x86_64 is D-Bus Python Bindings

Introduction

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

What is dbus-python.x86_64

D-Bus python bindings for use with python programs.

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

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

sudo yum -y install dbus-python.x86_64

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

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

sudo yum remove dbus-python.x86_64

dbus-python.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/_dbus_bindings.so
/usr/lib64/python2.7/site-packages/_dbus_glib_bindings.so
/usr/lib64/python2.7/site-packages/dbus
/usr/lib64/python2.7/site-packages/dbus/__init__.py
/usr/lib64/python2.7/site-packages/dbus/__init__.pyc
/usr/lib64/python2.7/site-packages/dbus/__init__.pyo
/usr/lib64/python2.7/site-packages/dbus/_compat.py
/usr/lib64/python2.7/site-packages/dbus/_compat.pyc
/usr/lib64/python2.7/site-packages/dbus/_compat.pyo
/usr/lib64/python2.7/site-packages/dbus/_dbus.py
/usr/lib64/python2.7/site-packages/dbus/_dbus.pyc
/usr/lib64/python2.7/site-packages/dbus/_dbus.pyo
/usr/lib64/python2.7/site-packages/dbus/_expat_introspect_parser.py
/usr/lib64/python2.7/site-packages/dbus/_expat_introspect_parser.pyc
/usr/lib64/python2.7/site-packages/dbus/_expat_introspect_parser.pyo
/usr/lib64/python2.7/site-packages/dbus/_version.py
/usr/lib64/python2.7/site-packages/dbus/_version.pyc
/usr/lib64/python2.7/site-packages/dbus/_version.pyo
/usr/lib64/python2.7/site-packages/dbus/bus.py
/usr/lib64/python2.7/site-packages/dbus/bus.pyc
/usr/lib64/python2.7/site-packages/dbus/bus.pyo
/usr/lib64/python2.7/site-packages/dbus/connection.py
/usr/lib64/python2.7/site-packages/dbus/connection.pyc
/usr/lib64/python2.7/site-packages/dbus/connection.pyo
/usr/lib64/python2.7/site-packages/dbus/decorators.py
/usr/lib64/python2.7/site-packages/dbus/decorators.pyc
/usr/lib64/python2.7/site-packages/dbus/decorators.pyo
/usr/lib64/python2.7/site-packages/dbus/exceptions.py
/usr/lib64/python2.7/site-packages/dbus/exceptions.pyc
/usr/lib64/python2.7/site-packages/dbus/exceptions.pyo
/usr/lib64/python2.7/site-packages/dbus/gi_service.py
/usr/lib64/python2.7/site-packages/dbus/gi_service.pyc
/usr/lib64/python2.7/site-packages/dbus/gi_service.pyo
/usr/lib64/python2.7/site-packages/dbus/glib.py
/usr/lib64/python2.7/site-packages/dbus/glib.pyc
/usr/lib64/python2.7/site-packages/dbus/glib.pyo
/usr/lib64/python2.7/site-packages/dbus/gobject_service.py
/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyc
/usr/lib64/python2.7/site-packages/dbus/gobject_service.pyo
/usr/lib64/python2.7/site-packages/dbus/lowlevel.py
/usr/lib64/python2.7/site-packages/dbus/lowlevel.pyc
/usr/lib64/python2.7/site-packages/dbus/lowlevel.pyo
/usr/lib64/python2.7/site-packages/dbus/mainloop
/usr/lib64/python2.7/site-packages/dbus/mainloop/__init__.py
/usr/lib64/python2.7/site-packages/dbus/mainloop/__init__.pyc
/usr/lib64/python2.7/site-packages/dbus/mainloop/__init__.pyo
/usr/lib64/python2.7/site-packages/dbus/mainloop/glib.py
/usr/lib64/python2.7/site-packages/dbus/mainloop/glib.pyc
/usr/lib64/python2.7/site-packages/dbus/mainloop/glib.pyo
/usr/lib64/python2.7/site-packages/dbus/proxies.py
/usr/lib64/python2.7/site-packages/dbus/proxies.pyc
/usr/lib64/python2.7/site-packages/dbus/proxies.pyo
/usr/lib64/python2.7/site-packages/dbus/server.py
/usr/lib64/python2.7/site-packages/dbus/server.pyc
/usr/lib64/python2.7/site-packages/dbus/server.pyo
/usr/lib64/python2.7/site-packages/dbus/service.py
/usr/lib64/python2.7/site-packages/dbus/service.pyc
/usr/lib64/python2.7/site-packages/dbus/service.pyo
/usr/lib64/python2.7/site-packages/dbus/types.py
/usr/lib64/python2.7/site-packages/dbus/types.pyc
/usr/lib64/python2.7/site-packages/dbus/types.pyo
/usr/share/doc/dbus-python-1.1.1
/usr/share/doc/dbus-python-1.1.1/COPYING
/usr/share/doc/dbus-python-1.1.1/ChangeLog
/usr/share/doc/dbus-python-1.1.1/NEWS
/usr/share/doc/dbus-python-1.1.1/README

References

Summary

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