How To Install dbus-glib on CentOS 8
Introduction
In this tutorial we learn how to install dbus-glib
on CentOS 8.
What is dbus-glib
D-Bus add-on library to integrate the standard D-Bus library with the GLib thread abstraction and main loop. dbus-glib 0.110 2.el8 i686 138 k dbus-glib-0.110-2.el8.src.rpm baseos GLib bindings for D-Bus http AFL and GPLv2+ D-Bus add-on library to integrate the standard D-Bus library with the GLib thread abstraction and main loop.
We can use yum
or dnf
to install dbus-glib
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dbus-glib.
Install dbus-glib on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install dbus-glib
using dnf
by running the following command:
sudo dnf -y install dbus-glib
Install dbus-glib on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install dbus-glib
using yum
by running the following command:
sudo yum -y install dbus-glib
How To Uninstall dbus-glib on CentOS 8
To uninstall only the dbus-glib
package we can use the following command:
sudo dnf remove dbus-glib
dbus-glib Package Contents on CentOS 8
/usr/bin/dbus-binding-tool
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/b7500b67067bd4b64cbb0806085e3086d7ebda
/usr/lib/.build-id/84
/usr/lib/.build-id/84/f139ca642c29204500174e51b29669f1b95966
/usr/lib/libdbus-glib-1.so.2
/usr/lib/libdbus-glib-1.so.2.3.4
/usr/share/doc/dbus-glib
/usr/share/doc/dbus-glib/NEWS
/usr/share/licenses/dbus-glib
/usr/share/licenses/dbus-glib/COPYING
/usr/share/man/man1/dbus-binding-tool.1.gz
/usr/bin/dbus-binding-tool
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/218cd6df3b3d729ae2fcbb97a98c80c38bff9f
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/3f6f1e5e07fc615a4c9d53fa35e576f86ea4ca
/usr/lib64/libdbus-glib-1.so.2
/usr/lib64/libdbus-glib-1.so.2.3.4
/usr/share/doc/dbus-glib
/usr/share/doc/dbus-glib/NEWS
/usr/share/licenses/dbus-glib
/usr/share/licenses/dbus-glib/COPYING
/usr/share/man/man1/dbus-binding-tool.1.gz
References
- [dbus-glib website](http://www.freedesktop.org/software/dbus/ http://www.freedesktop.org/software/dbus/)
Summary
In this tutorial we learn how to install dbus-glib
on CentOS 8 using yum and dnf.