How To Install rust-cargo-c-devel on Fedora 36
Introduction
In this tutorial we learn how to install rust-cargo-c-devel
on Fedora 36.
What is rust-cargo-c-devel
Helper program to build and install c-like libraries. This package contains library source intended for building other packages which use the “cargo-c” crate.
We can use yum
or dnf
to install rust-cargo-c-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rust-cargo-c-devel.
Install rust-cargo-c-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-c-devel
using dnf
by running the following command:
sudo dnf -y install rust-cargo-c-devel
Install rust-cargo-c-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-c-devel
using yum
by running the following command:
sudo yum -y install rust-cargo-c-devel
How To Uninstall rust-cargo-c-devel on Fedora 36
To uninstall only the rust-cargo-c-devel
package we can use the following command:
sudo dnf remove rust-cargo-c-devel
rust-cargo-c-devel Package Contents on Fedora 36
/usr/share/cargo/registry/cargo-c-0.9.7
/usr/share/cargo/registry/cargo-c-0.9.7/.cargo-checksum.json
/usr/share/cargo/registry/cargo-c-0.9.7/Cargo.toml
/usr/share/cargo/registry/cargo-c-0.9.7/LICENSE
/usr/share/cargo/registry/cargo-c-0.9.7/README.md
/usr/share/cargo/registry/cargo-c-0.9.7/codecov.yml
/usr/share/cargo/registry/cargo-c-0.9.7/coverage.sh
/usr/share/cargo/registry/cargo-c-0.9.7/src
/usr/share/cargo/registry/cargo-c-0.9.7/src/bin
/usr/share/cargo/registry/cargo-c-0.9.7/src/bin/capi.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/bin/cbuild.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/bin/cinstall.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/bin/ctest.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/build.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/build_targets.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/cli.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/config.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/install.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/lib.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/pkg_config_gen.rs
/usr/share/cargo/registry/cargo-c-0.9.7/src/target.rs
/usr/share/doc/rust-cargo-c-devel
/usr/share/doc/rust-cargo-c-devel/README.md
/usr/share/licenses/rust-cargo-c-devel
/usr/share/licenses/rust-cargo-c-devel/LICENSE
References
Summary
In this tutorial we learn how to install rust-cargo-c-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).