How To Install dbus-sharp-glib on Fedora 36

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

Introduction

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

What is dbus-sharp-glib

C# bindings for D-Bus glib main loop integration

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

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

sudo dnf -y install dbus-sharp-glib

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

sudo yum -y install dbus-sharp-glib

How To Uninstall dbus-sharp-glib on Fedora 36

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

sudo dnf remove dbus-sharp-glib

dbus-sharp-glib Package Contents on Fedora 36

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

References

Summary

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