How To Install rust-enum_primitive-devel on Fedora 36

In this tutorial we learn how to install rust-enum_primitive-devel in Fedora 36. rust-enum_primitive-devel is Macro to generate num

Introduction

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

What is rust-enum_primitive-devel

Macro to generate num This package contains library source intended for building other packages which use “enum_primitive” crate.

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

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

sudo dnf -y install rust-enum_primitive-devel

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

sudo yum -y install rust-enum_primitive-devel

How To Uninstall rust-enum_primitive-devel on Fedora 36

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

sudo dnf remove rust-enum_primitive-devel

rust-enum_primitive-devel Package Contents on Fedora 36

/usr/share/cargo/registry/enum_primitive-0.1.1
/usr/share/cargo/registry/enum_primitive-0.1.1/.cargo-checksum.json
/usr/share/cargo/registry/enum_primitive-0.1.1/Cargo.toml
/usr/share/cargo/registry/enum_primitive-0.1.1/LICENSE
/usr/share/cargo/registry/enum_primitive-0.1.1/README.md
/usr/share/cargo/registry/enum_primitive-0.1.1/src
/usr/share/cargo/registry/enum_primitive-0.1.1/src/lib.rs
/usr/share/cargo/registry/enum_primitive-0.1.1/tests
/usr/share/cargo/registry/enum_primitive-0.1.1/tests/image.rs
/usr/share/cargo/registry/enum_primitive-0.1.1/tests/omitted-discriminants.rs
/usr/share/cargo/registry/enum_primitive-0.1.1/tests/tests.rs
/usr/share/doc/rust-enum_primitive-devel
/usr/share/doc/rust-enum_primitive-devel/README.md
/usr/share/licenses/rust-enum_primitive-devel
/usr/share/licenses/rust-enum_primitive-devel/LICENSE

References

Summary

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