How To Install python-slip-dbus on CentOS 7

In this tutorial we learn how to install python-slip-dbus on CentOS 7. python-slip-dbus is Convenience functions for dbus services

Introduction

In this tutorial we learn how to install python-slip-dbus on CentOS 7.

What is python-slip-dbus

The Simple Library for Python packages contain miscellaneous code for convenience, extension and workaround purposes. This package provides slip.dbus.service.Object, which is a dbus.service.Object derivative that ends itself after a certain time without being used and/or if there are no clients anymore on the message bus, as well as convenience functions and decorators for integrating a dbus service with PolicyKit.

We can use yum or dnf to install python-slip-dbus on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install python-slip-dbus.

Install python-slip-dbus on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install python-slip-dbus using yum by running the following command:

sudo yum -y install python-slip-dbus

Install python-slip-dbus on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install python-slip-dbus using dnf by running the following command:

sudo dnf -y install python-slip-dbus

How To Uninstall python-slip-dbus on CentOS 7

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

sudo dnf remove python-slip-dbus

References

Summary

In this tutorial we learn how to install python-slip-dbus on CentOS 7 using yum and dnf.