How To Install rust-num_cpus-devel on Fedora 36

In this tutorial we learn how to install rust-num_cpus-devel in Fedora 36. rust-num_cpus-devel is Get the number of CPUs on a machine

Introduction

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

What is rust-num_cpus-devel

Get the number of CPUs on a machine. This package contains library source intended for building other packages which use the “num_cpus” crate.

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

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

sudo dnf -y install rust-num_cpus-devel

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

sudo yum -y install rust-num_cpus-devel

How To Uninstall rust-num_cpus-devel on Fedora 36

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

sudo dnf remove rust-num_cpus-devel

rust-num_cpus-devel Package Contents on Fedora 36

/usr/share/cargo/registry/num_cpus-1.13.1
/usr/share/cargo/registry/num_cpus-1.13.1/.cargo-checksum.json
/usr/share/cargo/registry/num_cpus-1.13.1/CHANGELOG.md
/usr/share/cargo/registry/num_cpus-1.13.1/CONTRIBUTING.md
/usr/share/cargo/registry/num_cpus-1.13.1/Cargo.toml
/usr/share/cargo/registry/num_cpus-1.13.1/LICENSE-APACHE
/usr/share/cargo/registry/num_cpus-1.13.1/LICENSE-MIT
/usr/share/cargo/registry/num_cpus-1.13.1/README.md
/usr/share/cargo/registry/num_cpus-1.13.1/ci
/usr/share/cargo/registry/num_cpus-1.13.1/ci/cgroups
/usr/share/cargo/registry/num_cpus-1.13.1/ci/cgroups/Dockerfile
/usr/share/cargo/registry/num_cpus-1.13.1/examples
/usr/share/cargo/registry/num_cpus-1.13.1/examples/values.rs
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/ceil
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/ceil/cpu.cfs_period_us
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/ceil/cpu.cfs_quota_us
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/good
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/good/cpu.cfs_period_us
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/good/cpu.cfs_quota_us
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/zero-period
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/zero-period/cpu.cfs_period_us
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/cgroups/zero-period/cpu.cfs_quota_us
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/proc
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/proc/cgroups
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/proc/cgroups/cgroup
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/proc/cgroups/mountinfo
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/proc/cgroups/mountinfo_multi_opt
/usr/share/cargo/registry/num_cpus-1.13.1/fixtures/cgroups/proc/cgroups/mountinfo_zero_opt
/usr/share/cargo/registry/num_cpus-1.13.1/src
/usr/share/cargo/registry/num_cpus-1.13.1/src/lib.rs
/usr/share/cargo/registry/num_cpus-1.13.1/src/linux.rs
/usr/share/doc/rust-num_cpus-devel
/usr/share/doc/rust-num_cpus-devel/CHANGELOG.md
/usr/share/doc/rust-num_cpus-devel/CONTRIBUTING.md
/usr/share/doc/rust-num_cpus-devel/README.md
/usr/share/licenses/rust-num_cpus-devel
/usr/share/licenses/rust-num_cpus-devel/LICENSE-APACHE
/usr/share/licenses/rust-num_cpus-devel/LICENSE-MIT

References

Summary

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