How To Install rust-num_enum-devel on Fedora 36

In this tutorial we learn how to install rust-num_enum-devel in Fedora 36. rust-num_enum-devel is Procedural macros to make inter-operation between primitives and enums easier

Introduction

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

What is rust-num_enum-devel

Procedural macros to make inter-operation between primitives and enums easier. This package contains library source intended for building other packages which use the “num_enum” crate.

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

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

sudo dnf -y install rust-num_enum-devel

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

sudo yum -y install rust-num_enum-devel

How To Uninstall rust-num_enum-devel on Fedora 36

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

sudo dnf remove rust-num_enum-devel

rust-num_enum-devel Package Contents on Fedora 36

/usr/share/cargo/registry/num_enum-0.5.7
/usr/share/cargo/registry/num_enum-0.5.7/.cargo-checksum.json
/usr/share/cargo/registry/num_enum-0.5.7/Cargo.toml
/usr/share/cargo/registry/num_enum-0.5.7/LICENSE-APACHE
/usr/share/cargo/registry/num_enum-0.5.7/LICENSE-BSD
/usr/share/cargo/registry/num_enum-0.5.7/LICENSE-MIT
/usr/share/cargo/registry/num_enum-0.5.7/README.md
/usr/share/cargo/registry/num_enum-0.5.7/src
/usr/share/cargo/registry/num_enum-0.5.7/src/lib.rs
/usr/share/cargo/registry/num_enum-0.5.7/tests
/usr/share/cargo/registry/num_enum-0.5.7/tests/default.rs
/usr/share/cargo/registry/num_enum-0.5.7/tests/from_primitive.rs
/usr/share/cargo/registry/num_enum-0.5.7/tests/into_primitive.rs
/usr/share/cargo/registry/num_enum-0.5.7/tests/try_from_primitive.rs
/usr/share/cargo/registry/num_enum-0.5.7/tests/unsafe_from_primitive.rs

References

Summary

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