How To Install rust-fn-error-context-devel on Fedora 36

In this tutorial we learn how to install rust-fn-error-context-devel in Fedora 36. rust-fn-error-context-devel is Attribute macro to add context to errors from a function

Introduction

In this tutorial we learn how to install rust-fn-error-context-devel on Fedora 36.

What is rust-fn-error-context-devel

Attribute macro to add context to errors from a function. This package contains library source intended for building other packages which use “fn-error-context” crate.

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

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

sudo dnf -y install rust-fn-error-context-devel

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

sudo yum -y install rust-fn-error-context-devel

How To Uninstall rust-fn-error-context-devel on Fedora 36

To uninstall only the rust-fn-error-context-devel package we can use the following command:

sudo dnf remove rust-fn-error-context-devel

rust-fn-error-context-devel Package Contents on Fedora 36

/usr/share/cargo/registry/fn-error-context-0.2.0
/usr/share/cargo/registry/fn-error-context-0.2.0/.cargo-checksum.json
/usr/share/cargo/registry/fn-error-context-0.2.0/CHANGELOG.md
/usr/share/cargo/registry/fn-error-context-0.2.0/Cargo.toml
/usr/share/cargo/registry/fn-error-context-0.2.0/LICENSE-APACHE
/usr/share/cargo/registry/fn-error-context-0.2.0/LICENSE-MIT
/usr/share/cargo/registry/fn-error-context-0.2.0/README.md
/usr/share/cargo/registry/fn-error-context-0.2.0/examples
/usr/share/cargo/registry/fn-error-context-0.2.0/examples/context.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/src
/usr/share/cargo/registry/fn-error-context-0.2.0/src/lib.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/arg.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/arg_pattern.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/as_ref.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/async_as_ref.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/async_borrowing.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/async_move.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/async_no_move.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/async_without_return.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/async_without_return.stderr
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/failure.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/fmt_args.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/fmt_missing_arg.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/fmt_missing_arg.stderr
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/fmt_named_arg.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/fmt_unused_arg.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/fmt_unused_arg.stderr
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/inherent.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/missing_fmt.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/missing_fmt.stderr
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/move.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/no_move.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/non_copy_arg.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/non_copy_fmt_arg.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/preserve_lint.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/preserve_lint.stderr
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/simple.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/tests.rs
/usr/share/cargo/registry/fn-error-context-0.2.0/tests/version_numbers.rs
/usr/share/doc/rust-fn-error-context-devel
/usr/share/doc/rust-fn-error-context-devel/CHANGELOG.md
/usr/share/doc/rust-fn-error-context-devel/README.md
/usr/share/licenses/rust-fn-error-context-devel
/usr/share/licenses/rust-fn-error-context-devel/LICENSE-APACHE
/usr/share/licenses/rust-fn-error-context-devel/LICENSE-MIT

References

Summary

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