How To Install dbus-tools on CentOS 8
Introduction
In this tutorial we learn how to install dbus-tools
on CentOS 8.
What is dbus-tools
Tools and utilities to interact with a running D-Bus Message Bus, provided by the reference implementation. dbus-tools 1 1.12.8 12.el8_4.2 x86_64 85 k dbus-1.12.8-12.el8_4.2.src.rpm baseos D-BUS Tools and Utilities http (GPLv2+ or AFL) and GPLv2+ Tools and utilities to interact with a running D-Bus Message Bus, provided by the reference implementation.
We can use yum
or dnf
to install dbus-tools
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dbus-tools.
Install dbus-tools 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-tools
using dnf
by running the following command:
sudo dnf -y install dbus-tools
Install dbus-tools 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-tools
using yum
by running the following command:
sudo yum -y install dbus-tools
How To Uninstall dbus-tools on CentOS 8
To uninstall only the dbus-tools
package we can use the following command:
sudo dnf remove dbus-tools
dbus-tools Package Contents on CentOS 8
/usr/bin/dbus-monitor
/usr/bin/dbus-send
/usr/bin/dbus-update-activation-environment
/usr/bin/dbus-uuidgen
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/42ca5544ffaa0545a53f80597ce899e86a8113
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/352741aad90541cba377d3d44078ed350c8130
/usr/lib/.build-id/63
/usr/lib/.build-id/63/e10b68be325e9cd84d52ce06720d05531e8b43
/usr/lib/.build-id/66
/usr/lib/.build-id/66/1a83a5e3b3f302e5620e7120ce830c9b3f5899
/usr/share/licenses/dbus-tools
/usr/share/licenses/dbus-tools/COPYING
/usr/share/man/man1/dbus-monitor.1.gz
/usr/share/man/man1/dbus-send.1.gz
/usr/share/man/man1/dbus-update-activation-environment.1.gz
/usr/share/man/man1/dbus-uuidgen.1.gz
/usr/bin/dbus-monitor
/usr/bin/dbus-send
/usr/bin/dbus-update-activation-environment
/usr/bin/dbus-uuidgen
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/3c844ba2aedbe1194f009b86cf41bf5b6d1507
/usr/lib/.build-id/4f/77804f5c2cb3c41db317375c934962f293d0b8
/usr/lib/.build-id/63
/usr/lib/.build-id/63/78c4e637b3e16870ee60479e2aa847ca587dda
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/58978420162438ce07f119c3c5c950b94f4b8c
/usr/share/licenses/dbus-tools
/usr/share/licenses/dbus-tools/COPYING
/usr/share/man/man1/dbus-monitor.1.gz
/usr/share/man/man1/dbus-send.1.gz
/usr/share/man/man1/dbus-update-activation-environment.1.gz
/usr/share/man/man1/dbus-uuidgen.1.gz
References
- [dbus-tools website](http://www.freedesktop.org/Software/dbus/ http://www.freedesktop.org/Software/dbus/)
Summary
In this tutorial we learn how to install dbus-tools
on CentOS 8 using yum and dnf.