How To Install dbus-sharp on Fedora 36

In this tutorial we learn how to install dbus-sharp in Fedora 36. dbus-sharp is C# bindings for D-Bus

Introduction

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

What is dbus-sharp

D-Bus mono bindings for use with mono programs.

We can use yum or dnf to install dbus-sharp on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dbus-sharp.

Install dbus-sharp 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 dbus-sharp using dnf by running the following command:

sudo dnf -y install dbus-sharp

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

sudo yum -y install dbus-sharp

How To Uninstall dbus-sharp on Fedora 36

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

sudo dnf remove dbus-sharp

dbus-sharp Package Contents on Fedora 36

/usr/lib/mono/dbus-sharp-2.0
/usr/lib/mono/dbus-sharp-2.0/dbus-sharp.dll
/usr/lib/mono/gac/dbus-sharp
/usr/lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5
/usr/lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5/dbus-sharp.dll
/usr/lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5/dbus-sharp.dll.config
/usr/lib/mono/gac/dbus-sharp/2.0.0.0__5675b0c3093115b5/dbus-sharp.dll.mdb
/usr/share/doc/dbus-sharp
/usr/share/doc/dbus-sharp/COPYING
/usr/share/doc/dbus-sharp/README

References

Summary

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