How To Install rust-ioctl-rs-devel on Fedora 36

In this tutorial we learn how to install rust-ioctl-rs-devel in Fedora 36. rust-ioctl-rs-devel is Rust bindings for system ioctls

Introduction

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

What is rust-ioctl-rs-devel

Rust bindings for system ioctls. This package contains library source intended for building other packages which use “ioctl-rs” crate.

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

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

sudo dnf -y install rust-ioctl-rs-devel

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

sudo yum -y install rust-ioctl-rs-devel

How To Uninstall rust-ioctl-rs-devel on Fedora 36

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

sudo dnf remove rust-ioctl-rs-devel

rust-ioctl-rs-devel Package Contents on Fedora 36

/usr/share/cargo/registry/ioctl-rs-0.2.0
/usr/share/cargo/registry/ioctl-rs-0.2.0/.cargo-checksum.json
/usr/share/cargo/registry/ioctl-rs-0.2.0/Cargo.toml
/usr/share/cargo/registry/ioctl-rs-0.2.0/LICENSE
/usr/share/cargo/registry/ioctl-rs-0.2.0/README.md
/usr/share/cargo/registry/ioctl-rs-0.2.0/src
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/lib.rs
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os/dragonfly.rs
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os/freebsd.rs
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os/linux.rs
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os/macos.rs
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os/mod.rs
/usr/share/cargo/registry/ioctl-rs-0.2.0/src/os/openbsd.rs
/usr/share/doc/rust-ioctl-rs-devel
/usr/share/doc/rust-ioctl-rs-devel/README.md
/usr/share/licenses/rust-ioctl-rs-devel
/usr/share/licenses/rust-ioctl-rs-devel/LICENSE

References

Summary

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