How To Install rust-custom_error-devel on Fedora 36

In this tutorial we learn how to install rust-custom_error-devel in Fedora 36. rust-custom_error-devel is Define custom errors without boilerplate using the custom_error! macro

Introduction

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

What is rust-custom_error-devel

Define custom errors without boilerplate using the custom_error! macro. This package contains library source intended for building other packages which use the “custom_error” crate.

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

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

sudo dnf -y install rust-custom_error-devel

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

sudo yum -y install rust-custom_error-devel

How To Uninstall rust-custom_error-devel on Fedora 36

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

sudo dnf remove rust-custom_error-devel

rust-custom_error-devel Package Contents on Fedora 36

/usr/share/cargo/registry/custom_error-1.9.2
/usr/share/cargo/registry/custom_error-1.9.2/.cargo-checksum.json
/usr/share/cargo/registry/custom_error-1.9.2/Cargo.toml
/usr/share/cargo/registry/custom_error-1.9.2/LICENSE
/usr/share/cargo/registry/custom_error-1.9.2/README.md
/usr/share/cargo/registry/custom_error-1.9.2/src
/usr/share/cargo/registry/custom_error-1.9.2/src/error.rs
/usr/share/cargo/registry/custom_error-1.9.2/src/lib.rs
/usr/share/cargo/registry/custom_error-1.9.2/tests
/usr/share/cargo/registry/custom_error-1.9.2/tests/tests.rs
/usr/share/doc/rust-custom_error-devel
/usr/share/doc/rust-custom_error-devel/README.md
/usr/share/licenses/rust-custom_error-devel
/usr/share/licenses/rust-custom_error-devel/LICENSE

References

Summary

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