How To Install rust-maybe-owned-devel on Fedora 36

In this tutorial we learn how to install rust-maybe-owned-devel in Fedora 36. rust-maybe-owned-devel is Provides Rust enums MaybeOwned and MaybeOwnedMut

Introduction

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

What is rust-maybe-owned-devel

Provides a MaybeOwned (and MaybeOwnedMut) type similar to std’s Cow but it implements From<T> and From<&'a T> and does not require ToOwned. This package contains library source intended for building other packages which use “maybe-owned” crate.

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

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

sudo dnf -y install rust-maybe-owned-devel

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

sudo yum -y install rust-maybe-owned-devel

How To Uninstall rust-maybe-owned-devel on Fedora 36

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

sudo dnf remove rust-maybe-owned-devel

rust-maybe-owned-devel Package Contents on Fedora 36

/usr/share/cargo/registry/maybe-owned-0.3.4
/usr/share/cargo/registry/maybe-owned-0.3.4/.cargo-checksum.json
/usr/share/cargo/registry/maybe-owned-0.3.4/Cargo.toml
/usr/share/cargo/registry/maybe-owned-0.3.4/LICENSE-APACHE
/usr/share/cargo/registry/maybe-owned-0.3.4/LICENSE-MIT
/usr/share/cargo/registry/maybe-owned-0.3.4/README.md
/usr/share/cargo/registry/maybe-owned-0.3.4/examples
/usr/share/cargo/registry/maybe-owned-0.3.4/examples/registry.rs
/usr/share/cargo/registry/maybe-owned-0.3.4/src
/usr/share/cargo/registry/maybe-owned-0.3.4/src/lib.rs
/usr/share/cargo/registry/maybe-owned-0.3.4/src/serde_impls.rs
/usr/share/cargo/registry/maybe-owned-0.3.4/src/transitive_impl.rs
/usr/share/doc/rust-maybe-owned-devel
/usr/share/doc/rust-maybe-owned-devel/README.md
/usr/share/licenses/rust-maybe-owned-devel
/usr/share/licenses/rust-maybe-owned-devel/LICENSE-APACHE
/usr/share/licenses/rust-maybe-owned-devel/LICENSE-MIT

References

Summary

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