How To Install rust-memoffset-devel on Fedora 36

In this tutorial we learn how to install rust-memoffset-devel in Fedora 36. rust-memoffset-devel is Offset_of functionality for Rust structs

Introduction

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

What is rust-memoffset-devel

Offset_of functionality for Rust structs. This package contains library source intended for building other packages which use the “memoffset” crate.

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

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

sudo dnf -y install rust-memoffset-devel

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

sudo yum -y install rust-memoffset-devel

How To Uninstall rust-memoffset-devel on Fedora 36

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

sudo dnf remove rust-memoffset-devel

rust-memoffset-devel Package Contents on Fedora 36

/usr/share/cargo/registry/memoffset-0.6.5
/usr/share/cargo/registry/memoffset-0.6.5/.cargo-checksum.json
/usr/share/cargo/registry/memoffset-0.6.5/Cargo.toml
/usr/share/cargo/registry/memoffset-0.6.5/LICENSE
/usr/share/cargo/registry/memoffset-0.6.5/README.md
/usr/share/cargo/registry/memoffset-0.6.5/build.rs
/usr/share/cargo/registry/memoffset-0.6.5/ci
/usr/share/cargo/registry/memoffset-0.6.5/ci/miri.sh
/usr/share/cargo/registry/memoffset-0.6.5/src
/usr/share/cargo/registry/memoffset-0.6.5/src/lib.rs
/usr/share/cargo/registry/memoffset-0.6.5/src/offset_of.rs
/usr/share/cargo/registry/memoffset-0.6.5/src/raw_field.rs
/usr/share/cargo/registry/memoffset-0.6.5/src/span_of.rs
/usr/share/doc/rust-memoffset-devel
/usr/share/doc/rust-memoffset-devel/README.md
/usr/share/licenses/rust-memoffset-devel
/usr/share/licenses/rust-memoffset-devel/LICENSE

References

Summary

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