How To Install ghc-dbus on CentOS 7
Introduction
In this tutorial we learn how to install ghc-dbus
on CentOS 7.
What is ghc-dbus
D-Bus is a simple, message-based protocol for inter-process communication, which allows applications to interact with other parts of the machine and the user’s session using remote procedure calls. This library is an implementation of the D-Bus protocol in Haskell. It can be used to add D-Bus support to Haskell applications, without the awkward interfaces common to foreign bindings.
We can use yum
or dnf
to install ghc-dbus
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-dbus.
Install ghc-dbus on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install ghc-dbus
using yum
by running the following command:
Install ghc-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.
After updating yum database, We can install ghc-dbus
using dnf
by running the following command:
How To Uninstall ghc-dbus on CentOS 7
To uninstall only the ghc-dbus
package we can use the following command:
References
Summary
In this tutorial we learn how to install ghc-dbus
on CentOS 7 using yum
and dnf
.