How To Install rust-x11-dl-devel on Fedora 36

In this tutorial we learn how to install rust-x11-dl-devel in Fedora 36. rust-x11-dl-devel is X11 library bindings for Rust

Introduction

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

What is rust-x11-dl-devel

X11 library bindings for Rust. This package contains library source intended for building other packages which use “x11-dl” crate.

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

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

sudo dnf -y install rust-x11-dl-devel

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

sudo yum -y install rust-x11-dl-devel

How To Uninstall rust-x11-dl-devel on Fedora 36

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

sudo dnf remove rust-x11-dl-devel

rust-x11-dl-devel Package Contents on Fedora 36

/usr/share/cargo/registry/x11-dl-2.19.1
/usr/share/cargo/registry/x11-dl-2.19.1/.cargo-checksum.json
/usr/share/cargo/registry/x11-dl-2.19.1/Cargo.toml
/usr/share/cargo/registry/x11-dl-2.19.1/LICENSE-MIT
/usr/share/cargo/registry/x11-dl-2.19.1/build.rs
/usr/share/cargo/registry/x11-dl-2.19.1/examples
/usr/share/cargo/registry/x11-dl-2.19.1/examples/hello-world-dl.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src
/usr/share/cargo/registry/x11-dl-2.19.1/src/dpms.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/error.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/glx.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/internal.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/keysym.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/lib.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/link.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/old_xrandr.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xcursor.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xf86vmode.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xfixes.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xft.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xinerama.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xinput.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xinput2.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xlib.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xlib_xcb.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xmd.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xmu.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xrandr.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xrecord.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xrender.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xshm.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xss.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xt.rs
/usr/share/cargo/registry/x11-dl-2.19.1/src/xtest.rs
/usr/share/licenses/rust-x11-dl-devel
/usr/share/licenses/rust-x11-dl-devel/LICENSE-MIT

References

Summary

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