How To Install rust-defmac-devel on Fedora 36

In this tutorial we learn how to install rust-defmac-devel in Fedora 36. rust-defmac-devel is Macro to define lambda-like macros inline

Introduction

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

What is rust-defmac-devel

Macro to define lambda-like macros inline. This package contains library source intended for building other packages which use “defmac” crate.

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

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

sudo dnf -y install rust-defmac-devel

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

sudo yum -y install rust-defmac-devel

How To Uninstall rust-defmac-devel on Fedora 36

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

sudo dnf remove rust-defmac-devel

rust-defmac-devel Package Contents on Fedora 36

/usr/share/cargo/registry/defmac-0.2.1
/usr/share/cargo/registry/defmac-0.2.1/.cargo-checksum.json
/usr/share/cargo/registry/defmac-0.2.1/Cargo.toml
/usr/share/cargo/registry/defmac-0.2.1/LICENSE-APACHE
/usr/share/cargo/registry/defmac-0.2.1/LICENSE-MIT
/usr/share/cargo/registry/defmac-0.2.1/README.rst
/usr/share/cargo/registry/defmac-0.2.1/src
/usr/share/cargo/registry/defmac-0.2.1/src/lib.rs
/usr/share/cargo/registry/defmac-0.2.1/tests
/usr/share/cargo/registry/defmac-0.2.1/tests/cross_crate.rs
/usr/share/doc/rust-defmac-devel
/usr/share/doc/rust-defmac-devel/README.rst
/usr/share/licenses/rust-defmac-devel
/usr/share/licenses/rust-defmac-devel/LICENSE-APACHE
/usr/share/licenses/rust-defmac-devel/LICENSE-MIT

References

Summary

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