How To Install rust-elf-devel on Fedora 36

In this tutorial we learn how to install rust-elf-devel in Fedora 36. rust-elf-devel is Pure-rust library for parsing ELF files

Introduction

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

What is rust-elf-devel

Pure-rust library for parsing ELF files. This package contains library source intended for building other packages which use “elf” crate.

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

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

sudo dnf -y install rust-elf-devel

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

sudo yum -y install rust-elf-devel

How To Uninstall rust-elf-devel on Fedora 36

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

sudo dnf remove rust-elf-devel

rust-elf-devel Package Contents on Fedora 36

/usr/share/cargo/registry/elf-0.0.10
/usr/share/cargo/registry/elf-0.0.10/.cargo-checksum.json
/usr/share/cargo/registry/elf-0.0.10/COPYRIGHT
/usr/share/cargo/registry/elf-0.0.10/Cargo.toml
/usr/share/cargo/registry/elf-0.0.10/LICENSE-APACHE
/usr/share/cargo/registry/elf-0.0.10/LICENSE-MIT
/usr/share/cargo/registry/elf-0.0.10/README.md
/usr/share/cargo/registry/elf-0.0.10/src
/usr/share/cargo/registry/elf-0.0.10/src/lib.rs
/usr/share/cargo/registry/elf-0.0.10/src/types.rs
/usr/share/cargo/registry/elf-0.0.10/src/utils.rs
/usr/share/cargo/registry/elf-0.0.10/tests
/usr/share/cargo/registry/elf-0.0.10/tests/samples
/usr/share/cargo/registry/elf-0.0.10/tests/samples/test1
/usr/share/doc/rust-elf-devel
/usr/share/doc/rust-elf-devel/README.md
/usr/share/licenses/rust-elf-devel
/usr/share/licenses/rust-elf-devel/COPYRIGHT
/usr/share/licenses/rust-elf-devel/LICENSE-APACHE
/usr/share/licenses/rust-elf-devel/LICENSE-MIT

References

Summary

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