How To Install rust-hex-literal-devel on Fedora 36

In this tutorial we learn how to install rust-hex-literal-devel in Fedora 36. rust-hex-literal-devel is Procedural macro for converting hexadecimal string to byte array at compile time

Introduction

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

What is rust-hex-literal-devel

Procedural macro for converting hexadecimal string to byte array at compile time. This package contains library source intended for building other packages which use “hex-literal” crate.

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

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

sudo dnf -y install rust-hex-literal-devel

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

sudo yum -y install rust-hex-literal-devel

How To Uninstall rust-hex-literal-devel on Fedora 36

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

sudo dnf remove rust-hex-literal-devel

rust-hex-literal-devel Package Contents on Fedora 36

/usr/share/cargo/registry/hex-literal-0.3.4
/usr/share/cargo/registry/hex-literal-0.3.4/.cargo-checksum.json
/usr/share/cargo/registry/hex-literal-0.3.4/CHANGELOG.md
/usr/share/cargo/registry/hex-literal-0.3.4/Cargo.toml
/usr/share/cargo/registry/hex-literal-0.3.4/LICENSE-APACHE
/usr/share/cargo/registry/hex-literal-0.3.4/LICENSE-MIT
/usr/share/cargo/registry/hex-literal-0.3.4/src
/usr/share/cargo/registry/hex-literal-0.3.4/src/comments.rs
/usr/share/cargo/registry/hex-literal-0.3.4/src/lib.rs
/usr/share/cargo/registry/hex-literal-0.3.4/tests
/usr/share/cargo/registry/hex-literal-0.3.4/tests/basic.rs
/usr/share/cargo/registry/hex-literal-0.3.4/tests/comments.rs
/usr/share/doc/rust-hex-literal-devel
/usr/share/doc/rust-hex-literal-devel/CHANGELOG.md
/usr/share/licenses/rust-hex-literal-devel
/usr/share/licenses/rust-hex-literal-devel/LICENSE-APACHE
/usr/share/licenses/rust-hex-literal-devel/LICENSE-MIT

References

Summary

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