How To Install rustdoc-stripper on Fedora 36

In this tutorial we learn how to install rustdoc-stripper in Fedora 36. rustdoc-stripper is Tool to manipulate rustdoc comments

Introduction

In this tutorial we learn how to install rustdoc-stripper on Fedora 36.

What is rustdoc-stripper

Tool to manipulate rustdoc comments.

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

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

sudo dnf -y install rustdoc-stripper

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

sudo yum -y install rustdoc-stripper

How To Uninstall rustdoc-stripper on Fedora 36

To uninstall only the rustdoc-stripper package we can use the following command:

sudo dnf remove rustdoc-stripper

rustdoc-stripper Package Contents on Fedora 36

/usr/bin/rustdoc-stripper
/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/f37581d3f28110c2ba1947bb292966f53ed424
/usr/share/doc/rustdoc-stripper
/usr/share/doc/rustdoc-stripper/README.md
/usr/share/licenses/rustdoc-stripper
/usr/share/licenses/rustdoc-stripper/LICENSE

References

Summary

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