How To Install rust-cfg-expr-devel on Fedora 36

In this tutorial we learn how to install rust-cfg-expr-devel in Fedora 36. rust-cfg-expr-devel is Parser and evaluator for Rust cfg() expressions

Introduction

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

What is rust-cfg-expr-devel

Parser and evaluator for Rust cfg() expressions. This package contains library source intended for building other packages which use the “cfg-expr” crate.

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

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

sudo dnf -y install rust-cfg-expr-devel

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

sudo yum -y install rust-cfg-expr-devel

How To Uninstall rust-cfg-expr-devel on Fedora 36

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

sudo dnf remove rust-cfg-expr-devel

rust-cfg-expr-devel Package Contents on Fedora 36

/usr/share/cargo/registry/cfg-expr-0.10.2
/usr/share/cargo/registry/cfg-expr-0.10.2/.cargo-checksum.json
/usr/share/cargo/registry/cfg-expr-0.10.2/CHANGELOG.md
/usr/share/cargo/registry/cfg-expr-0.10.2/CODE_OF_CONDUCT.md
/usr/share/cargo/registry/cfg-expr-0.10.2/CONTRIBUTING.md
/usr/share/cargo/registry/cfg-expr-0.10.2/Cargo.toml
/usr/share/cargo/registry/cfg-expr-0.10.2/LICENSE-APACHE
/usr/share/cargo/registry/cfg-expr-0.10.2/LICENSE-MIT
/usr/share/cargo/registry/cfg-expr-0.10.2/README.md
/usr/share/cargo/registry/cfg-expr-0.10.2/clippy.toml
/usr/share/cargo/registry/cfg-expr-0.10.2/deny.toml
/usr/share/cargo/registry/cfg-expr-0.10.2/examples
/usr/share/cargo/registry/cfg-expr-0.10.2/examples/eval.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/release.toml
/usr/share/cargo/registry/cfg-expr-0.10.2/src
/usr/share/cargo/registry/cfg-expr-0.10.2/src/error.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/src/expr
/usr/share/cargo/registry/cfg-expr-0.10.2/src/expr.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/src/expr/lexer.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/src/expr/parser.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/src/lib.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/src/targets
/usr/share/cargo/registry/cfg-expr-0.10.2/src/targets.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/src/targets/builtins.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/tests
/usr/share/cargo/registry/cfg-expr-0.10.2/tests/eval.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/tests/lexer.rs
/usr/share/cargo/registry/cfg-expr-0.10.2/tests/parser.rs
/usr/share/doc/rust-cfg-expr-devel
/usr/share/doc/rust-cfg-expr-devel/CHANGELOG.md
/usr/share/doc/rust-cfg-expr-devel/CODE_OF_CONDUCT.md
/usr/share/doc/rust-cfg-expr-devel/CONTRIBUTING.md
/usr/share/doc/rust-cfg-expr-devel/README.md
/usr/share/licenses/rust-cfg-expr-devel
/usr/share/licenses/rust-cfg-expr-devel/LICENSE-APACHE
/usr/share/licenses/rust-cfg-expr-devel/LICENSE-MIT

References

Summary

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