How To Install rust-bzip2-devel on Fedora 36

In this tutorial we learn how to install rust-bzip2-devel in Fedora 36. rust-bzip2-devel is Bindings to libbzip2 for bzip2 exposed as Reader/Writer streams

Introduction

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

What is rust-bzip2-devel

Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams. This package contains library source intended for building other packages which use “bzip2” crate.

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

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

sudo dnf -y install rust-bzip2-devel

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

sudo yum -y install rust-bzip2-devel

How To Uninstall rust-bzip2-devel on Fedora 36

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

sudo dnf remove rust-bzip2-devel

rust-bzip2-devel Package Contents on Fedora 36

/usr/share/cargo/registry/bzip2-0.4.3
/usr/share/cargo/registry/bzip2-0.4.3/.cargo-checksum.json
/usr/share/cargo/registry/bzip2-0.4.3/Cargo.toml
/usr/share/cargo/registry/bzip2-0.4.3/LICENSE-APACHE
/usr/share/cargo/registry/bzip2-0.4.3/LICENSE-MIT
/usr/share/cargo/registry/bzip2-0.4.3/README.md
/usr/share/cargo/registry/bzip2-0.4.3/src
/usr/share/cargo/registry/bzip2-0.4.3/src/bufread.rs
/usr/share/cargo/registry/bzip2-0.4.3/src/lib.rs
/usr/share/cargo/registry/bzip2-0.4.3/src/mem.rs
/usr/share/cargo/registry/bzip2-0.4.3/src/read.rs
/usr/share/cargo/registry/bzip2-0.4.3/src/write.rs
/usr/share/cargo/registry/bzip2-0.4.3/tests
/usr/share/cargo/registry/bzip2-0.4.3/tests/bug_61.bz2
/usr/share/cargo/registry/bzip2-0.4.3/tests/bug_61.raw
/usr/share/cargo/registry/bzip2-0.4.3/tests/tokio.rs
/usr/share/doc/rust-bzip2-devel
/usr/share/doc/rust-bzip2-devel/README.md
/usr/share/licenses/rust-bzip2-devel
/usr/share/licenses/rust-bzip2-devel/LICENSE-APACHE
/usr/share/licenses/rust-bzip2-devel/LICENSE-MIT

References

Summary

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