How To Install rust-either-devel on Fedora 36

In this tutorial we learn how to install rust-either-devel in Fedora 36. rust-either-devel is Enum Either is a general purpose sum type with two cases

Introduction

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

What is rust-either-devel

Enum Either with variants Left and Right is a general purpose sum type with two cases. This package contains library source intended for building other packages which use “either” crate.

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

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

sudo dnf -y install rust-either-devel

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

sudo yum -y install rust-either-devel

How To Uninstall rust-either-devel on Fedora 36

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

sudo dnf remove rust-either-devel

rust-either-devel Package Contents on Fedora 36

/usr/share/cargo/registry/either-1.6.1
/usr/share/cargo/registry/either-1.6.1/.cargo-checksum.json
/usr/share/cargo/registry/either-1.6.1/Cargo.toml
/usr/share/cargo/registry/either-1.6.1/LICENSE-APACHE
/usr/share/cargo/registry/either-1.6.1/LICENSE-MIT
/usr/share/cargo/registry/either-1.6.1/README-crates.io.md
/usr/share/cargo/registry/either-1.6.1/README.rst
/usr/share/cargo/registry/either-1.6.1/src
/usr/share/cargo/registry/either-1.6.1/src/lib.rs
/usr/share/cargo/registry/either-1.6.1/src/serde_untagged.rs
/usr/share/cargo/registry/either-1.6.1/src/serde_untagged_optional.rs
/usr/share/doc/rust-either-devel
/usr/share/doc/rust-either-devel/README-crates.io.md
/usr/share/doc/rust-either-devel/README.rst
/usr/share/licenses/rust-either-devel
/usr/share/licenses/rust-either-devel/LICENSE-APACHE
/usr/share/licenses/rust-either-devel/LICENSE-MIT

References

Summary

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