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

In this tutorial we learn how to install rust-owned-alloc-devel in Fedora 36. rust-owned-alloc-devel is Crate to help reducing manual memory management errors

Introduction

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

What is rust-owned-alloc-devel

Crate to help reducing manual memory management errors. This package contains library source intended for building other packages which use “owned-alloc” crate.

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

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

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

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

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

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

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

sudo dnf remove rust-owned-alloc-devel

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

/usr/share/cargo/registry/owned-alloc-0.2.0
/usr/share/cargo/registry/owned-alloc-0.2.0/.cargo-checksum.json
/usr/share/cargo/registry/owned-alloc-0.2.0/CHANGELOG.md
/usr/share/cargo/registry/owned-alloc-0.2.0/Cargo.toml
/usr/share/cargo/registry/owned-alloc-0.2.0/LICENSE
/usr/share/cargo/registry/owned-alloc-0.2.0/README.md
/usr/share/cargo/registry/owned-alloc-0.2.0/src
/usr/share/cargo/registry/owned-alloc-0.2.0/src/cache.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/src/err.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/src/lib.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/src/maybe_uninit.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/src/owned.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/src/raw_vec.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/src/uninit.rs
/usr/share/cargo/registry/owned-alloc-0.2.0/test.sh
/usr/share/doc/rust-owned-alloc-devel
/usr/share/doc/rust-owned-alloc-devel/README.md
/usr/share/licenses/rust-owned-alloc-devel
/usr/share/licenses/rust-owned-alloc-devel/LICENSE

References

Summary

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