How To Install rust-diff-devel on Fedora 36

In this tutorial we learn how to install rust-diff-devel in Fedora 36. rust-diff-devel is LCS based slice and string diffing implementation

Introduction

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

What is rust-diff-devel

LCS based slice and string diffing implementation. This package contains library source intended for building other packages which use “diff” crate.

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

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

sudo dnf -y install rust-diff-devel

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

sudo yum -y install rust-diff-devel

How To Uninstall rust-diff-devel on Fedora 36

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

sudo dnf remove rust-diff-devel

rust-diff-devel Package Contents on Fedora 36

/usr/share/cargo/registry/diff-0.1.12
/usr/share/cargo/registry/diff-0.1.12/.cargo-checksum.json
/usr/share/cargo/registry/diff-0.1.12/Cargo.toml
/usr/share/cargo/registry/diff-0.1.12/LICENSE-APACHE
/usr/share/cargo/registry/diff-0.1.12/LICENSE-MIT
/usr/share/cargo/registry/diff-0.1.12/README.md
/usr/share/cargo/registry/diff-0.1.12/benches
/usr/share/cargo/registry/diff-0.1.12/benches/benches.rs
/usr/share/cargo/registry/diff-0.1.12/examples
/usr/share/cargo/registry/diff-0.1.12/examples/simple.rs
/usr/share/cargo/registry/diff-0.1.12/src
/usr/share/cargo/registry/diff-0.1.12/src/lib.rs
/usr/share/cargo/registry/diff-0.1.12/tests
/usr/share/cargo/registry/diff-0.1.12/tests/tests.rs
/usr/share/doc/rust-diff-devel
/usr/share/doc/rust-diff-devel/README.md
/usr/share/licenses/rust-diff-devel
/usr/share/licenses/rust-diff-devel/LICENSE-APACHE
/usr/share/licenses/rust-diff-devel/LICENSE-MIT

References

Summary

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