How To Install rust-cmake-devel on Fedora 36

In this tutorial we learn how to install rust-cmake-devel in Fedora 36. rust-cmake-devel is Build dependency for running cmake to build a native library

Introduction

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

What is rust-cmake-devel

Build dependency for running cmake to build a native library. This package contains library source intended for building other packages which use the “cmake” crate.

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

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

sudo dnf -y install rust-cmake-devel

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

sudo yum -y install rust-cmake-devel

How To Uninstall rust-cmake-devel on Fedora 36

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

sudo dnf remove rust-cmake-devel

rust-cmake-devel Package Contents on Fedora 36

/usr/share/cargo/registry/cmake-0.1.48
/usr/share/cargo/registry/cmake-0.1.48/.cargo-checksum.json
/usr/share/cargo/registry/cmake-0.1.48/Cargo.toml
/usr/share/cargo/registry/cmake-0.1.48/LICENSE-APACHE
/usr/share/cargo/registry/cmake-0.1.48/LICENSE-MIT
/usr/share/cargo/registry/cmake-0.1.48/README.md
/usr/share/cargo/registry/cmake-0.1.48/src
/usr/share/cargo/registry/cmake-0.1.48/src/lib.rs
/usr/share/doc/rust-cmake-devel
/usr/share/doc/rust-cmake-devel/README.md
/usr/share/licenses/rust-cmake-devel
/usr/share/licenses/rust-cmake-devel/LICENSE-APACHE
/usr/share/licenses/rust-cmake-devel/LICENSE-MIT

References

Summary

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