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

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

Introduction

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

What is rust-x11-clipboard-devel

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

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

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

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

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

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

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

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

sudo dnf remove rust-x11-clipboard-devel

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

/usr/share/cargo/registry/x11-clipboard-0.5.3
/usr/share/cargo/registry/x11-clipboard-0.5.3/.cargo-checksum.json
/usr/share/cargo/registry/x11-clipboard-0.5.3/Cargo.toml
/usr/share/cargo/registry/x11-clipboard-0.5.3/LICENSE
/usr/share/cargo/registry/x11-clipboard-0.5.3/README.md
/usr/share/cargo/registry/x11-clipboard-0.5.3/examples
/usr/share/cargo/registry/x11-clipboard-0.5.3/examples/monitor_primary_selection.rs
/usr/share/cargo/registry/x11-clipboard-0.5.3/examples/paste.rs
/usr/share/cargo/registry/x11-clipboard-0.5.3/src
/usr/share/cargo/registry/x11-clipboard-0.5.3/src/error.rs
/usr/share/cargo/registry/x11-clipboard-0.5.3/src/lib.rs
/usr/share/cargo/registry/x11-clipboard-0.5.3/src/run.rs
/usr/share/cargo/registry/x11-clipboard-0.5.3/tests
/usr/share/cargo/registry/x11-clipboard-0.5.3/tests/simple-test.rs
/usr/share/cargo/registry/x11-clipboard-0.5.3/tests/window-leak.rs
/usr/share/doc/rust-x11-clipboard-devel
/usr/share/doc/rust-x11-clipboard-devel/README.md
/usr/share/licenses/rust-x11-clipboard-devel
/usr/share/licenses/rust-x11-clipboard-devel/LICENSE

References

Summary

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