How To Install rust-ref-cast-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-ref-cast-devel
on Fedora 36.
What is rust-ref-cast-devel
Safely cast &T to &U where the struct U contains a single field of type T. This package contains library source intended for building other packages which use “ref-cast” crate.
We can use yum
or dnf
to install rust-ref-cast-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-ref-cast-devel.
Install rust-ref-cast-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-ref-cast-devel
using dnf
by running the following command:
sudo dnf -y install rust-ref-cast-devel
Install rust-ref-cast-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-ref-cast-devel
using yum
by running the following command:
sudo yum -y install rust-ref-cast-devel
How To Uninstall rust-ref-cast-devel on Fedora 36
To uninstall only the rust-ref-cast-devel
package we can use the following command:
sudo dnf remove rust-ref-cast-devel
rust-ref-cast-devel Package Contents on Fedora 36
/usr/share/cargo/registry/ref-cast-1.0.6
/usr/share/cargo/registry/ref-cast-1.0.6/.cargo-checksum.json
/usr/share/cargo/registry/ref-cast-1.0.6/Cargo.toml
/usr/share/cargo/registry/ref-cast-1.0.6/LICENSE-APACHE
/usr/share/cargo/registry/ref-cast-1.0.6/LICENSE-MIT
/usr/share/cargo/registry/ref-cast-1.0.6/README.md
/usr/share/cargo/registry/ref-cast-1.0.6/build.rs
/usr/share/cargo/registry/ref-cast-1.0.6/src
/usr/share/cargo/registry/ref-cast-1.0.6/src/layout.rs
/usr/share/cargo/registry/ref-cast-1.0.6/src/lib.rs
/usr/share/cargo/registry/ref-cast-1.0.6/src/trivial.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests
/usr/share/cargo/registry/ref-cast-1.0.6/tests/compiletest.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests/test_trivial.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/no-repr.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/no-repr.stderr
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/not-trivial.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/not-trivial.stderr
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/repr-align.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/repr-align.stderr
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/unrecognized-repr.rs
/usr/share/cargo/registry/ref-cast-1.0.6/tests/ui/unrecognized-repr.stderr
/usr/share/doc/rust-ref-cast-devel
/usr/share/doc/rust-ref-cast-devel/README.md
/usr/share/licenses/rust-ref-cast-devel
/usr/share/licenses/rust-ref-cast-devel/LICENSE-APACHE
/usr/share/licenses/rust-ref-cast-devel/LICENSE-MIT
References
Summary
In this tutorial we learn how to install rust-ref-cast-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).