How To Install rust-target-lexicon-devel on Fedora 36

In this tutorial we learn how to install rust-target-lexicon-devel in Fedora 36. rust-target-lexicon-devel is Targeting utilities for compilers and related tools

Introduction

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

What is rust-target-lexicon-devel

Targeting utilities for compilers and related tools. This package contains library source intended for building other packages which use the “target-lexicon” crate.

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

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

sudo dnf -y install rust-target-lexicon-devel

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

sudo yum -y install rust-target-lexicon-devel

How To Uninstall rust-target-lexicon-devel on Fedora 36

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

sudo dnf remove rust-target-lexicon-devel

rust-target-lexicon-devel Package Contents on Fedora 36

/usr/share/cargo/registry/target-lexicon-0.12.3
/usr/share/cargo/registry/target-lexicon-0.12.3/.cargo-checksum.json
/usr/share/cargo/registry/target-lexicon-0.12.3/Cargo.toml
/usr/share/cargo/registry/target-lexicon-0.12.3/LICENSE
/usr/share/cargo/registry/target-lexicon-0.12.3/README.md
/usr/share/cargo/registry/target-lexicon-0.12.3/build.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/examples
/usr/share/cargo/registry/target-lexicon-0.12.3/examples/host.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/examples/misc.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/scripts
/usr/share/cargo/registry/target-lexicon-0.12.3/scripts/rust-targets.sh
/usr/share/cargo/registry/target-lexicon-0.12.3/src
/usr/share/cargo/registry/target-lexicon-0.12.3/src/data_model.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/src/host.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/src/lib.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/src/parse_error.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/src/targets.rs
/usr/share/cargo/registry/target-lexicon-0.12.3/src/triple.rs
/usr/share/doc/rust-target-lexicon-devel
/usr/share/doc/rust-target-lexicon-devel/README.md
/usr/share/licenses/rust-target-lexicon-devel
/usr/share/licenses/rust-target-lexicon-devel/LICENSE

References

Summary

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