How To Install rust-spin-devel on Fedora 36

In this tutorial we learn how to install rust-spin-devel in Fedora 36. rust-spin-devel is Spin-based synchronization primitives

Introduction

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

What is rust-spin-devel

Spin-based synchronization primitives. This package contains library source intended for building other packages which use the “spin” crate.

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

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

sudo dnf -y install rust-spin-devel

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

sudo yum -y install rust-spin-devel

How To Uninstall rust-spin-devel on Fedora 36

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

sudo dnf remove rust-spin-devel

rust-spin-devel Package Contents on Fedora 36

/usr/share/cargo/registry/spin-0.9.2
/usr/share/cargo/registry/spin-0.9.2/.cargo-checksum.json
/usr/share/cargo/registry/spin-0.9.2/CHANGELOG.md
/usr/share/cargo/registry/spin-0.9.2/Cargo.toml
/usr/share/cargo/registry/spin-0.9.2/LICENSE
/usr/share/cargo/registry/spin-0.9.2/README.md
/usr/share/cargo/registry/spin-0.9.2/examples
/usr/share/cargo/registry/spin-0.9.2/examples/debug.rs
/usr/share/cargo/registry/spin-0.9.2/script
/usr/share/cargo/registry/spin-0.9.2/script/doc-upload.cfg
/usr/share/cargo/registry/spin-0.9.2/src
/usr/share/cargo/registry/spin-0.9.2/src/barrier.rs
/usr/share/cargo/registry/spin-0.9.2/src/lazy.rs
/usr/share/cargo/registry/spin-0.9.2/src/lib.rs
/usr/share/cargo/registry/spin-0.9.2/src/mutex
/usr/share/cargo/registry/spin-0.9.2/src/mutex.rs
/usr/share/cargo/registry/spin-0.9.2/src/mutex/spin.rs
/usr/share/cargo/registry/spin-0.9.2/src/mutex/ticket.rs
/usr/share/cargo/registry/spin-0.9.2/src/once.rs
/usr/share/cargo/registry/spin-0.9.2/src/relax.rs
/usr/share/cargo/registry/spin-0.9.2/src/rwlock.rs
/usr/share/doc/rust-spin-devel
/usr/share/doc/rust-spin-devel/CHANGELOG.md
/usr/share/doc/rust-spin-devel/README.md
/usr/share/licenses/rust-spin-devel
/usr/share/licenses/rust-spin-devel/LICENSE

References

Summary

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