How To Install rust-parse_cfg-devel on Fedora 36

In this tutorial we learn how to install rust-parse_cfg-devel in Fedora 36. rust-parse_cfg-devel is Parse Rust’s cfg(not(any(target))) attribute syntax

Introduction

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

What is rust-parse_cfg-devel

Parse Rust’s cfg(not(any(target))) attribute syntax. This package contains library source intended for building other packages which use “parse_cfg” crate.

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

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

sudo dnf -y install rust-parse_cfg-devel

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

sudo yum -y install rust-parse_cfg-devel

How To Uninstall rust-parse_cfg-devel on Fedora 36

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

sudo dnf remove rust-parse_cfg-devel

rust-parse_cfg-devel Package Contents on Fedora 36

/usr/share/cargo/registry/parse_cfg-2.0.0
/usr/share/cargo/registry/parse_cfg-2.0.0/.cargo-checksum.json
/usr/share/cargo/registry/parse_cfg-2.0.0/Cargo.toml
/usr/share/cargo/registry/parse_cfg-2.0.0/README.md
/usr/share/cargo/registry/parse_cfg-2.0.0/src
/usr/share/cargo/registry/parse_cfg-2.0.0/src/display.rs
/usr/share/cargo/registry/parse_cfg-2.0.0/src/lib.rs
/usr/share/doc/rust-parse_cfg-devel
/usr/share/doc/rust-parse_cfg-devel/README.md

References

Summary

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