How To Install rust-stable_deref_trait+std-devel on Fedora 36

In this tutorial we learn how to install rust-stable_deref_trait+std-devel in Fedora 36. rust-stable_deref_trait+std-devel is Unsafe marker trait for types like Box and Rc that dereference to a stable address even when moved, and hence can be used with libraries such as owning_ref and rental

Introduction

In this tutorial we learn how to install rust-stable_deref_trait+std-devel on Fedora 36.

What is rust-stable_deref_trait+std-devel

Unsafe marker trait for types like Box and Rc that dereference to a stable address even when moved, and hence can be used with libraries such as owning_ref and rental. This package contains library source intended for building other packages which use “the std” feature of the “stable_deref_trait” crate.

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

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

sudo dnf -y install rust-stable_deref_trait+std-devel

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

sudo yum -y install rust-stable_deref_trait+std-devel

How To Uninstall rust-stable_deref_trait+std-devel on Fedora 36

To uninstall only the rust-stable_deref_trait+std-devel package we can use the following command:

sudo dnf remove rust-stable_deref_trait+std-devel

rust-stable_deref_trait+std-devel Package Contents on Fedora 36

/usr/share/cargo/registry/stable_deref_trait-1.2.0/Cargo.toml

References

Summary

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