How To Install cargo-readme on Fedora 36

In this tutorial we learn how to install cargo-readme in Fedora 36. cargo-readme is Cargo subcommand to generate README.md content from doc comments

Introduction

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

What is cargo-readme

Cargo subcommand to generate README.md content from doc comments.

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

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

sudo dnf -y install cargo-readme

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

sudo yum -y install cargo-readme

How To Uninstall cargo-readme on Fedora 36

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

sudo dnf remove cargo-readme

cargo-readme Package Contents on Fedora 36

/usr/bin/cargo-readme
/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/727dd67791319612dc9477322794dbe86d006d
/usr/share/doc/cargo-readme
/usr/share/doc/cargo-readme/README.md
/usr/share/licenses/cargo-readme
/usr/share/licenses/cargo-readme/LICENSE-APACHE
/usr/share/licenses/cargo-readme/LICENSE-MIT

References

Summary

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