How To Install rust-same-file-devel on Fedora 36

In this tutorial we learn how to install rust-same-file-devel in Fedora 36. rust-same-file-devel is Simple crate for determining whether two file paths point to the same file

Introduction

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

What is rust-same-file-devel

Simple crate for determining whether two file paths point to the same file. This package contains library source intended for building other packages which use “same-file” crate.

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

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

sudo dnf -y install rust-same-file-devel

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

sudo yum -y install rust-same-file-devel

How To Uninstall rust-same-file-devel on Fedora 36

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

sudo dnf remove rust-same-file-devel

rust-same-file-devel Package Contents on Fedora 36

/usr/share/cargo/registry/same-file-1.0.6
/usr/share/cargo/registry/same-file-1.0.6/.cargo-checksum.json
/usr/share/cargo/registry/same-file-1.0.6/COPYING
/usr/share/cargo/registry/same-file-1.0.6/Cargo.toml
/usr/share/cargo/registry/same-file-1.0.6/LICENSE-MIT
/usr/share/cargo/registry/same-file-1.0.6/README.md
/usr/share/cargo/registry/same-file-1.0.6/UNLICENSE
/usr/share/cargo/registry/same-file-1.0.6/examples
/usr/share/cargo/registry/same-file-1.0.6/examples/is_same_file.rs
/usr/share/cargo/registry/same-file-1.0.6/examples/is_stderr.rs
/usr/share/cargo/registry/same-file-1.0.6/rustfmt.toml
/usr/share/cargo/registry/same-file-1.0.6/src
/usr/share/cargo/registry/same-file-1.0.6/src/lib.rs
/usr/share/cargo/registry/same-file-1.0.6/src/unix.rs
/usr/share/cargo/registry/same-file-1.0.6/src/unknown.rs
/usr/share/cargo/registry/same-file-1.0.6/src/win.rs
/usr/share/doc/rust-same-file-devel
/usr/share/doc/rust-same-file-devel/README.md
/usr/share/licenses/rust-same-file-devel
/usr/share/licenses/rust-same-file-devel/COPYING
/usr/share/licenses/rust-same-file-devel/LICENSE-MIT
/usr/share/licenses/rust-same-file-devel/UNLICENSE

References

Summary

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