How To Install rust-const_fn-devel on Fedora 36

In this tutorial we learn how to install rust-const_fn-devel in Fedora 36. rust-const_fn-devel is Attribute for easy generation of const functions

Introduction

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

What is rust-const_fn-devel

Attribute for easy generation of const functions with conditional compilations. This package contains library source intended for building other packages which use the “const_fn” crate.

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

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

sudo dnf -y install rust-const_fn-devel

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

sudo yum -y install rust-const_fn-devel

How To Uninstall rust-const_fn-devel on Fedora 36

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

sudo dnf remove rust-const_fn-devel

rust-const_fn-devel Package Contents on Fedora 36

/usr/share/cargo/registry/const_fn-0.4.9
/usr/share/cargo/registry/const_fn-0.4.9/.cargo-checksum.json
/usr/share/cargo/registry/const_fn-0.4.9/CHANGELOG.md
/usr/share/cargo/registry/const_fn-0.4.9/Cargo.toml
/usr/share/cargo/registry/const_fn-0.4.9/LICENSE-APACHE
/usr/share/cargo/registry/const_fn-0.4.9/LICENSE-MIT
/usr/share/cargo/registry/const_fn-0.4.9/README.md
/usr/share/cargo/registry/const_fn-0.4.9/build.rs
/usr/share/cargo/registry/const_fn-0.4.9/src
/usr/share/cargo/registry/const_fn-0.4.9/src/ast.rs
/usr/share/cargo/registry/const_fn-0.4.9/src/error.rs
/usr/share/cargo/registry/const_fn-0.4.9/src/iter.rs
/usr/share/cargo/registry/const_fn-0.4.9/src/lib.rs
/usr/share/cargo/registry/const_fn-0.4.9/src/to_tokens.rs
/usr/share/cargo/registry/const_fn-0.4.9/src/utils.rs
/usr/share/doc/rust-const_fn-devel
/usr/share/doc/rust-const_fn-devel/CHANGELOG.md
/usr/share/doc/rust-const_fn-devel/README.md
/usr/share/licenses/rust-const_fn-devel
/usr/share/licenses/rust-const_fn-devel/LICENSE-APACHE
/usr/share/licenses/rust-const_fn-devel/LICENSE-MIT

References

Summary

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