How To Install rust-custom_derive-devel on Fedora 36

In this tutorial we learn how to install rust-custom_derive-devel in Fedora 36. rust-custom_derive-devel is Macro that enables the use of custom derive attributes

Introduction

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

What is rust-custom_derive-devel

(Note use of custom derive attributes. This package contains library source intended for building other packages which use “custom_derive” crate.

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

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

sudo dnf -y install rust-custom_derive-devel

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

sudo yum -y install rust-custom_derive-devel

How To Uninstall rust-custom_derive-devel on Fedora 36

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

sudo dnf remove rust-custom_derive-devel

rust-custom_derive-devel Package Contents on Fedora 36

/usr/share/cargo/registry/custom_derive-0.1.7
/usr/share/cargo/registry/custom_derive-0.1.7/.cargo-checksum.json
/usr/share/cargo/registry/custom_derive-0.1.7/Cargo.toml
/usr/share/cargo/registry/custom_derive-0.1.7/LICENSE
/usr/share/cargo/registry/custom_derive-0.1.7/README.md
/usr/share/cargo/registry/custom_derive-0.1.7/src
/usr/share/cargo/registry/custom_derive-0.1.7/src/lib.rs
/usr/share/cargo/registry/custom_derive-0.1.7/tests
/usr/share/cargo/registry/custom_derive-0.1.7/tests/empty_bi_derives.rs
/usr/share/cargo/registry/custom_derive-0.1.7/tests/enum_iterator.rs
/usr/share/cargo/registry/custom_derive-0.1.7/tests/enum_try_from.rs
/usr/share/cargo/registry/custom_derive-0.1.7/tests/passthru_derive.rs
/usr/share/cargo/registry/custom_derive-0.1.7/tests/stable_encodable.rs
/usr/share/cargo/registry/custom_derive-0.1.7/tests/trailing_comma.rs
/usr/share/doc/rust-custom_derive-devel
/usr/share/doc/rust-custom_derive-devel/README.md
/usr/share/licenses/rust-custom_derive-devel
/usr/share/licenses/rust-custom_derive-devel/LICENSE

References

Summary

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