How To Install rust-xz2-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-xz2-devel
on Fedora 36.
What is rust-xz2-devel
Rust bindings to liblzma providing Read/Write streams as well as low-level in-memory encoding/decoding. This package contains library source intended for building other packages which use “xz2” crate.
We can use yum
or dnf
to install rust-xz2-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-xz2-devel.
Install rust-xz2-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-xz2-devel
using dnf
by running the following command:
sudo dnf -y install rust-xz2-devel
Install rust-xz2-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-xz2-devel
using yum
by running the following command:
sudo yum -y install rust-xz2-devel
How To Uninstall rust-xz2-devel on Fedora 36
To uninstall only the rust-xz2-devel
package we can use the following command:
sudo dnf remove rust-xz2-devel
rust-xz2-devel Package Contents on Fedora 36
/usr/share/cargo/registry/xz2-0.1.6
/usr/share/cargo/registry/xz2-0.1.6/.cargo-checksum.json
/usr/share/cargo/registry/xz2-0.1.6/Cargo.toml
/usr/share/cargo/registry/xz2-0.1.6/LICENSE-APACHE
/usr/share/cargo/registry/xz2-0.1.6/LICENSE-MIT
/usr/share/cargo/registry/xz2-0.1.6/README.md
/usr/share/cargo/registry/xz2-0.1.6/src
/usr/share/cargo/registry/xz2-0.1.6/src/bufread.rs
/usr/share/cargo/registry/xz2-0.1.6/src/lib.rs
/usr/share/cargo/registry/xz2-0.1.6/src/read.rs
/usr/share/cargo/registry/xz2-0.1.6/src/stream.rs
/usr/share/cargo/registry/xz2-0.1.6/src/write.rs
/usr/share/cargo/registry/xz2-0.1.6/tests
/usr/share/cargo/registry/xz2-0.1.6/tests/drop-incomplete.rs
/usr/share/cargo/registry/xz2-0.1.6/tests/tokio.rs
/usr/share/cargo/registry/xz2-0.1.6/tests/xz.rs
/usr/share/doc/rust-xz2-devel
/usr/share/doc/rust-xz2-devel/README.md
/usr/share/licenses/rust-xz2-devel
/usr/share/licenses/rust-xz2-devel/LICENSE-APACHE
/usr/share/licenses/rust-xz2-devel/LICENSE-MIT
References
Summary
In this tutorial we learn how to install rust-xz2-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).