How To Install dbus-c++ on Rocky Linux 8
Introduction
In this tutorial we learn how to install dbus-c++
on Rocky Linux 8.
What is dbus-c++
dbus-c++ attempts to provide a C++ API for D-Bus. Subpackages are provided with mainloop integration.
We can use yum
or dnf
to install dbus-c++
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dbus-c++.
Install dbus-c++ on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install dbus-c++
using dnf
by running the following command:
sudo dnf -y install dbus-c++
Install dbus-c++ on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install dbus-c++
using yum
by running the following command:
sudo yum -y install dbus-c++
How To Uninstall dbus-c++ on Rocky Linux 8
To uninstall only the dbus-c++
package we can use the following command:
sudo dnf remove dbus-c++
dbus-c++ Package Contents on Rocky Linux 8
/usr/bin/dbusxx-introspect
/usr/bin/dbusxx-xml2cpp
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/294e9d7487f46c0affaffb544a802e48a408a0
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/8291e4eaf325cbdcafc2bc818002e5b507e70c
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/3c786e80de6aaba8bc40df1fa9f287ff11f3e7
/usr/lib64/libdbus-c++-1.so.0
/usr/lib64/libdbus-c++-1.so.0.0.0
/usr/share/doc/dbus-c++
/usr/share/doc/dbus-c++/AUTHORS
/usr/share/licenses/dbus-c++
/usr/share/licenses/dbus-c++/COPYING
/usr/bin/dbusxx-introspect
/usr/bin/dbusxx-xml2cpp
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/5b37d6071ca96045fe61fdf94eefdc2e01d47d
/usr/lib/.build-id/78
/usr/lib/.build-id/78/f8f4a2007f88b82555d5a8cdf3721eb4938d4e
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/74df67092c16093286be26fb08501b1f2253ae
/usr/lib/libdbus-c++-1.so.0
/usr/lib/libdbus-c++-1.so.0.0.0
/usr/share/doc/dbus-c++
/usr/share/doc/dbus-c++/AUTHORS
/usr/share/licenses/dbus-c++
/usr/share/licenses/dbus-c++/COPYING
References
Summary
In this tutorial we learn how to install dbus-c++
on Rocky Linux 8 using yum and dnf.