How To Install rust-macro-attr-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-macro-attr-devel
on Fedora 36.
What is rust-macro-attr-devel
This crate provides the
macro_attr!
macro that enables the use of custom, macro-based attributes and derivations. Supersedes thecustom_derive
crate. This package contains library source intended for building other packages which use “macro-attr” crate.
We can use yum
or dnf
to install rust-macro-attr-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-macro-attr-devel.
Install rust-macro-attr-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-macro-attr-devel
using dnf
by running the following command:
sudo dnf -y install rust-macro-attr-devel
Install rust-macro-attr-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-macro-attr-devel
using yum
by running the following command:
sudo yum -y install rust-macro-attr-devel
How To Uninstall rust-macro-attr-devel on Fedora 36
To uninstall only the rust-macro-attr-devel
package we can use the following command:
sudo dnf remove rust-macro-attr-devel
rust-macro-attr-devel Package Contents on Fedora 36
/usr/share/cargo/registry/macro-attr-0.2.0
/usr/share/cargo/registry/macro-attr-0.2.0/.cargo-checksum.json
/usr/share/cargo/registry/macro-attr-0.2.0/Cargo.toml
/usr/share/cargo/registry/macro-attr-0.2.0/LICENSE
/usr/share/cargo/registry/macro-attr-0.2.0/README.md
/usr/share/cargo/registry/macro-attr-0.2.0/src
/usr/share/cargo/registry/macro-attr-0.2.0/src/lib.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests
/usr/share/cargo/registry/macro-attr-0.2.0/tests/empty_bi_derives.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/enum_iterator.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/enum_try_from.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/items.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/mac_attrs.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/passthru_derive.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/stable_encodable.rs
/usr/share/cargo/registry/macro-attr-0.2.0/tests/trailing_comma.rs
/usr/share/doc/rust-macro-attr-devel
/usr/share/doc/rust-macro-attr-devel/README.md
/usr/share/licenses/rust-macro-attr-devel
/usr/share/licenses/rust-macro-attr-devel/LICENSE
References
Summary
In this tutorial we learn how to install rust-macro-attr-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).