How To Install rust-no-panic-devel on Fedora 36

In this tutorial we learn how to install rust-no-panic-devel in Fedora 36. rust-no-panic-devel is Attribute macro to require that the compiler prove a function can’t ever panic

Introduction

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

What is rust-no-panic-devel

Attribute macro to require that the compiler prove a function can’t ever panic. This package contains library source intended for building other packages which use “no-panic” crate.

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

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

sudo dnf -y install rust-no-panic-devel

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

sudo yum -y install rust-no-panic-devel

How To Uninstall rust-no-panic-devel on Fedora 36

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

sudo dnf remove rust-no-panic-devel

rust-no-panic-devel Package Contents on Fedora 36

/usr/share/cargo/registry/no-panic-0.1.15
/usr/share/cargo/registry/no-panic-0.1.15/.cargo-checksum.json
/usr/share/cargo/registry/no-panic-0.1.15/Cargo.toml
/usr/share/cargo/registry/no-panic-0.1.15/LICENSE-APACHE
/usr/share/cargo/registry/no-panic-0.1.15/LICENSE-MIT
/usr/share/cargo/registry/no-panic-0.1.15/README.md
/usr/share/cargo/registry/no-panic-0.1.15/src
/usr/share/cargo/registry/no-panic-0.1.15/src/lib.rs
/usr/share/cargo/registry/no-panic-0.1.15/tests
/usr/share/cargo/registry/no-panic-0.1.15/tests/compiletest
/usr/share/cargo/registry/no-panic-0.1.15/tests/compiletest/mod.rs
/usr/share/cargo/registry/no-panic-0.1.15/tests/test.rs
/usr/share/doc/rust-no-panic-devel
/usr/share/doc/rust-no-panic-devel/README.md
/usr/share/licenses/rust-no-panic-devel
/usr/share/licenses/rust-no-panic-devel/LICENSE-APACHE
/usr/share/licenses/rust-no-panic-devel/LICENSE-MIT

References

Summary

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