How To Install rust-sha-1-devel on Fedora 36

In this tutorial we learn how to install rust-sha-1-devel in Fedora 36. rust-sha-1-devel is SHA-1 hash function

Introduction

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

What is rust-sha-1-devel

SHA-1 hash function. This package contains library source intended for building other packages which use the “sha-1” crate.

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

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

sudo dnf -y install rust-sha-1-devel

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

sudo yum -y install rust-sha-1-devel

How To Uninstall rust-sha-1-devel on Fedora 36

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

sudo dnf remove rust-sha-1-devel

rust-sha-1-devel Package Contents on Fedora 36

/usr/share/cargo/registry/sha-1-0.10.0
/usr/share/cargo/registry/sha-1-0.10.0/.cargo-checksum.json
/usr/share/cargo/registry/sha-1-0.10.0/CHANGELOG.md
/usr/share/cargo/registry/sha-1-0.10.0/Cargo.toml
/usr/share/cargo/registry/sha-1-0.10.0/LICENSE-APACHE
/usr/share/cargo/registry/sha-1-0.10.0/LICENSE-MIT
/usr/share/cargo/registry/sha-1-0.10.0/README.md
/usr/share/cargo/registry/sha-1-0.10.0/benches
/usr/share/cargo/registry/sha-1-0.10.0/benches/mod.rs
/usr/share/cargo/registry/sha-1-0.10.0/src
/usr/share/cargo/registry/sha-1-0.10.0/src/compress
/usr/share/cargo/registry/sha-1-0.10.0/src/compress.rs
/usr/share/cargo/registry/sha-1-0.10.0/src/compress/aarch64.rs
/usr/share/cargo/registry/sha-1-0.10.0/src/compress/soft.rs
/usr/share/cargo/registry/sha-1-0.10.0/src/compress/x86.rs
/usr/share/cargo/registry/sha-1-0.10.0/src/lib.rs
/usr/share/cargo/registry/sha-1-0.10.0/tests
/usr/share/cargo/registry/sha-1-0.10.0/tests/data
/usr/share/cargo/registry/sha-1-0.10.0/tests/data/sha1.blb
/usr/share/cargo/registry/sha-1-0.10.0/tests/mod.rs
/usr/share/doc/rust-sha-1-devel
/usr/share/doc/rust-sha-1-devel/CHANGELOG.md
/usr/share/doc/rust-sha-1-devel/README.md
/usr/share/licenses/rust-sha-1-devel
/usr/share/licenses/rust-sha-1-devel/LICENSE-APACHE
/usr/share/licenses/rust-sha-1-devel/LICENSE-MIT

References

Summary

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