How To Install rust-cargo-platform-devel on Fedora 36

In this tutorial we learn how to install rust-cargo-platform-devel in Fedora 36. rust-cargo-platform-devel is Cargo’s representation of a target platform

Introduction

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

What is rust-cargo-platform-devel

Cargo’s representation of a target platform. This package contains library source intended for building other packages which use “cargo-platform” crate.

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

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

sudo dnf -y install rust-cargo-platform-devel

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

sudo yum -y install rust-cargo-platform-devel

How To Uninstall rust-cargo-platform-devel on Fedora 36

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

sudo dnf remove rust-cargo-platform-devel

rust-cargo-platform-devel Package Contents on Fedora 36

/usr/share/cargo/registry/cargo-platform-0.1.2
/usr/share/cargo/registry/cargo-platform-0.1.2/.cargo-checksum.json
/usr/share/cargo/registry/cargo-platform-0.1.2/Cargo.toml
/usr/share/cargo/registry/cargo-platform-0.1.2/LICENSE-APACHE
/usr/share/cargo/registry/cargo-platform-0.1.2/LICENSE-MIT
/usr/share/cargo/registry/cargo-platform-0.1.2/examples
/usr/share/cargo/registry/cargo-platform-0.1.2/examples/matches.rs
/usr/share/cargo/registry/cargo-platform-0.1.2/src
/usr/share/cargo/registry/cargo-platform-0.1.2/src/cfg.rs
/usr/share/cargo/registry/cargo-platform-0.1.2/src/error.rs
/usr/share/cargo/registry/cargo-platform-0.1.2/src/lib.rs
/usr/share/cargo/registry/cargo-platform-0.1.2/tests
/usr/share/cargo/registry/cargo-platform-0.1.2/tests/test_cfg.rs
/usr/share/licenses/rust-cargo-platform-devel
/usr/share/licenses/rust-cargo-platform-devel/LICENSE-APACHE
/usr/share/licenses/rust-cargo-platform-devel/LICENSE-MIT

References

Summary

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