How To Install rust-xmltree-devel on Fedora 36

In this tutorial we learn how to install rust-xmltree-devel in Fedora 36. rust-xmltree-devel is Parse an XML file into a simple tree-like structure

Introduction

In this tutorial we learn how to install rust-xmltree-devel on Fedora 36.

What is rust-xmltree-devel

Parse an XML file into a simple tree-like structure. This package contains library source intended for building other packages which use “xmltree” crate.

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

Install rust-xmltree-devel 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 rust-xmltree-devel using dnf by running the following command:

sudo dnf -y install rust-xmltree-devel

Install rust-xmltree-devel 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 rust-xmltree-devel using yum by running the following command:

sudo yum -y install rust-xmltree-devel

How To Uninstall rust-xmltree-devel on Fedora 36

To uninstall only the rust-xmltree-devel package we can use the following command:

sudo dnf remove rust-xmltree-devel

rust-xmltree-devel Package Contents on Fedora 36

/usr/share/cargo/registry/xmltree-0.10.3
/usr/share/cargo/registry/xmltree-0.10.3/.cargo-checksum.json
/usr/share/cargo/registry/xmltree-0.10.3/Cargo.toml
/usr/share/cargo/registry/xmltree-0.10.3/LICENSE
/usr/share/cargo/registry/xmltree-0.10.3/README.md
/usr/share/cargo/registry/xmltree-0.10.3/benches
/usr/share/cargo/registry/xmltree-0.10.3/benches/suite.rs
/usr/share/cargo/registry/xmltree-0.10.3/src
/usr/share/cargo/registry/xmltree-0.10.3/src/lib.rs
/usr/share/cargo/registry/xmltree-0.10.3/tests
/usr/share/cargo/registry/xmltree-0.10.3/tests/data
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/01.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/02.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/03.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/04.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/05.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/ns1.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/ns2.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/data/rw.xml
/usr/share/cargo/registry/xmltree-0.10.3/tests/suite.rs
/usr/share/doc/rust-xmltree-devel
/usr/share/doc/rust-xmltree-devel/README.md
/usr/share/licenses/rust-xmltree-devel
/usr/share/licenses/rust-xmltree-devel/LICENSE

References

Summary

In this tutorial we learn how to install rust-xmltree-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).