How To Install rust-teloxide-macros-devel on Fedora 36

In this tutorial we learn how to install rust-teloxide-macros-devel in Fedora 36. rust-teloxide-macros-devel is Teloxide’s procedural macros

Introduction

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

What is rust-teloxide-macros-devel

Teloxide’s procedural macros. This package contains library source intended for building other packages which use “teloxide-macros” crate.

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

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

sudo dnf -y install rust-teloxide-macros-devel

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

sudo yum -y install rust-teloxide-macros-devel

How To Uninstall rust-teloxide-macros-devel on Fedora 36

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

sudo dnf remove rust-teloxide-macros-devel

rust-teloxide-macros-devel Package Contents on Fedora 36

/usr/share/cargo/registry/teloxide-macros-0.3.2
/usr/share/cargo/registry/teloxide-macros-0.3.2/.cargo-checksum.json
/usr/share/cargo/registry/teloxide-macros-0.3.2/CHANGELOG.md
/usr/share/cargo/registry/teloxide-macros-0.3.2/Cargo.toml
/usr/share/cargo/registry/teloxide-macros-0.3.2/LICENSE
/usr/share/cargo/registry/teloxide-macros-0.3.2/rustfmt.toml
/usr/share/cargo/registry/teloxide-macros-0.3.2/src
/usr/share/cargo/registry/teloxide-macros-0.3.2/src/attr.rs
/usr/share/cargo/registry/teloxide-macros-0.3.2/src/command.rs
/usr/share/cargo/registry/teloxide-macros-0.3.2/src/command_enum.rs
/usr/share/cargo/registry/teloxide-macros-0.3.2/src/fields_parse.rs
/usr/share/cargo/registry/teloxide-macros-0.3.2/src/lib.rs
/usr/share/cargo/registry/teloxide-macros-0.3.2/src/rename_rules.rs
/usr/share/doc/rust-teloxide-macros-devel
/usr/share/doc/rust-teloxide-macros-devel/CHANGELOG.md
/usr/share/licenses/rust-teloxide-macros-devel
/usr/share/licenses/rust-teloxide-macros-devel/LICENSE

References

Summary

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