How To Install dbus-codegen on Fedora 36
Introduction
In this tutorial we learn how to install dbus-codegen
on Fedora 36.
What is dbus-codegen
Binary crate to generate Rust code from XML introspection data.
We can use yum
or dnf
to install dbus-codegen
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dbus-codegen.
Install dbus-codegen 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-codegen
using dnf
by running the following command:
sudo dnf -y install dbus-codegen
Install dbus-codegen 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-codegen
using yum
by running the following command:
sudo yum -y install dbus-codegen
How To Uninstall dbus-codegen on Fedora 36
To uninstall only the dbus-codegen
package we can use the following command:
sudo dnf remove dbus-codegen
dbus-codegen Package Contents on Fedora 36
/usr/bin/dbus-codegen-rust
/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/8a60f0002db7bd013ffe6b3abe190cdcc3a413
/usr/share/doc/dbus-codegen
/usr/share/doc/dbus-codegen/README.md
/usr/share/licenses/dbus-codegen
/usr/share/licenses/dbus-codegen/LICENSE-APACHE
/usr/share/licenses/dbus-codegen/LICENSE-MIT
References
Summary
In this tutorial we learn how to install dbus-codegen
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).