How To Install rust-newtype_derive-devel on Fedora 36

In this tutorial we learn how to install rust-newtype_derive-devel in Fedora 36. rust-newtype_derive-devel is Macros for deriving common traits for newtype structures

Introduction

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

What is rust-newtype_derive-devel

Macros for deriving common traits for newtype structures. This package contains library source intended for building other packages which use “newtype_derive” crate.

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

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

sudo dnf -y install rust-newtype_derive-devel

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

sudo yum -y install rust-newtype_derive-devel

How To Uninstall rust-newtype_derive-devel on Fedora 36

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

sudo dnf remove rust-newtype_derive-devel

rust-newtype_derive-devel Package Contents on Fedora 36

/usr/share/cargo/registry/newtype_derive-0.1.6
/usr/share/cargo/registry/newtype_derive-0.1.6/.cargo-checksum.json
/usr/share/cargo/registry/newtype_derive-0.1.6/Cargo.toml
/usr/share/cargo/registry/newtype_derive-0.1.6/build.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/src
/usr/share/cargo/registry/newtype_derive-0.1.6/src/lib.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/src/std_unstable.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/arith.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/arith_assign.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/deref_index.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/fmt.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/issue-5-pub-interior-field.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/star_forms.rs
/usr/share/cargo/registry/newtype_derive-0.1.6/tests/std_unstable.rs

References

Summary

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