How To Install rust-gtk-sys-devel on Fedora 36

In this tutorial we learn how to install rust-gtk-sys-devel in Fedora 36. rust-gtk-sys-devel is FFI bindings to libgtk-3

Introduction

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

What is rust-gtk-sys-devel

FFI bindings to libgtk-3. This package contains library source intended for building other packages which use the “gtk-sys” crate.

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

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

sudo dnf -y install rust-gtk-sys-devel

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

sudo yum -y install rust-gtk-sys-devel

How To Uninstall rust-gtk-sys-devel on Fedora 36

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

sudo dnf remove rust-gtk-sys-devel

rust-gtk-sys-devel Package Contents on Fedora 36

/usr/share/cargo/registry/gtk-sys-0.15.3
/usr/share/cargo/registry/gtk-sys-0.15.3/.cargo-checksum.json
/usr/share/cargo/registry/gtk-sys-0.15.3/Cargo.toml
/usr/share/cargo/registry/gtk-sys-0.15.3/Gir.toml
/usr/share/cargo/registry/gtk-sys-0.15.3/LICENSE
/usr/share/cargo/registry/gtk-sys-0.15.3/build.rs
/usr/share/cargo/registry/gtk-sys-0.15.3/src
/usr/share/cargo/registry/gtk-sys-0.15.3/src/lib.rs
/usr/share/cargo/registry/gtk-sys-0.15.3/src/manual.rs
/usr/share/cargo/registry/gtk-sys-0.15.3/tests
/usr/share/cargo/registry/gtk-sys-0.15.3/tests/abi.rs
/usr/share/cargo/registry/gtk-sys-0.15.3/tests/constant.c
/usr/share/cargo/registry/gtk-sys-0.15.3/tests/layout.c
/usr/share/cargo/registry/gtk-sys-0.15.3/tests/manual.h
/usr/share/cargo/registry/gtk-sys-0.15.3/versions.txt
/usr/share/licenses/rust-gtk-sys-devel
/usr/share/licenses/rust-gtk-sys-devel/LICENSE

References

Summary

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