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

In this tutorial we learn how to install rust-alloc-stdlib-devel in Fedora 36. rust-alloc-stdlib-devel is Dynamic allocator example that may be used with the stdlib

Introduction

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

What is rust-alloc-stdlib-devel

Dynamic allocator example that may be used with the stdlib. This package contains library source intended for building other packages which use “alloc-stdlib” crate.

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

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

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

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

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

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

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

sudo dnf remove rust-alloc-stdlib-devel

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

/usr/share/cargo/registry/alloc-stdlib-0.2.1
/usr/share/cargo/registry/alloc-stdlib-0.2.1/.cargo-checksum.json
/usr/share/cargo/registry/alloc-stdlib-0.2.1/Cargo.toml
/usr/share/cargo/registry/alloc-stdlib-0.2.1/README.md
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/bin
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/bin/example.rs
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/bin/tests.rs
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/heap_alloc.rs
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/lib.rs
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/std_alloc.rs
/usr/share/cargo/registry/alloc-stdlib-0.2.1/src/test.rs
/usr/share/cargo/registry/alloc-stdlib-0.2.1/tests
/usr/share/cargo/registry/alloc-stdlib-0.2.1/tests/lib.rs
/usr/share/doc/rust-alloc-stdlib-devel
/usr/share/doc/rust-alloc-stdlib-devel/README.md

References

Summary

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