How To Install ghc-dbus on Fedora 36

In this tutorial we learn how to install ghc-dbus in Fedora 36. ghc-dbus is A client library for the D-Bus IPC system

Introduction

In this tutorial we learn how to install ghc-dbus on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-dbus.

Install ghc-dbus on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ghc-dbus

Install ghc-dbus on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ghc-dbus

How To Uninstall ghc-dbus on Fedora 36

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

sudo dnf remove ghc-dbus

ghc-dbus Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/14daf3ac17cdb19105a28d83f0a0cfbf7e1ace
/usr/lib64/libHSdbus-1.2.17-AWn7CF1JYyrL87mHNms2mh-ghc8.10.5.so
/usr/share/licenses/ghc-dbus
/usr/share/licenses/ghc-dbus/license.txt

References

Summary

In this tutorial we learn how to install ghc-dbus on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).