How To Install cargo-c on Fedora 36

In this tutorial we learn how to install cargo-c in Fedora 36. cargo-c is Helper program to build and install c-like libraries

Introduction

In this tutorial we learn how to install cargo-c on Fedora 36.

What is cargo-c

Helper program to build and install c-like libraries.

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

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

sudo dnf -y install cargo-c

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

sudo yum -y install cargo-c

How To Uninstall cargo-c on Fedora 36

To uninstall only the cargo-c package we can use the following command:

sudo dnf remove cargo-c

cargo-c Package Contents on Fedora 36

/usr/bin/cargo-capi
/usr/bin/cargo-cbuild
/usr/bin/cargo-cinstall
/usr/bin/cargo-ctest
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/6da380e4fa58ebf5d7d0e09d1760142dbc4ea4
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/e3f3ec45009f82567005f621bcd292c53d7d51
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/6aabbb6bfed9c20a1f52df94041e6caeaca7e2
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/250a4a32c7ab2628d858e79fc7a3f44dd73884
/usr/share/doc/cargo-c
/usr/share/doc/cargo-c/README.md
/usr/share/licenses/cargo-c
/usr/share/licenses/cargo-c/LICENSE

References

Summary

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