How To Install rpmreaper on Rocky Linux 8

In this tutorial we learn how to install rpmreaper on Rocky Linux 8. rpmreaper is A tool for removing packages from system

Introduction

In this tutorial we learn how to install rpmreaper on Rocky Linux 8.

What is rpmreaper

rpmreaper is a simple ncurses application with a mutt-like interface that allows removing unnecessary packages and their dependencies from the system.

We can use yum or dnf to install rpmreaper on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rpmreaper.

Install rpmreaper on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rpmreaper using dnf by running the following command:

sudo dnf -y install rpmreaper

Install rpmreaper on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rpmreaper using yum by running the following command:

sudo yum -y install rpmreaper

How To Uninstall rpmreaper on Rocky Linux 8

To uninstall only the rpmreaper package we can use the following command:

sudo dnf remove rpmreaper

rpmreaper Package Contents on Rocky Linux 8

/usr/bin/rpmreaper
/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/733ba116791c5ea5f0148da36f12a182415920
/usr/share/doc/rpmreaper
/usr/share/doc/rpmreaper/COPYING
/usr/share/doc/rpmreaper/NEWS
/usr/share/doc/rpmreaper/README
/usr/share/man/man1/rpmreaper.1.gz

References

Summary

In this tutorial we learn how to install rpmreaper on Rocky Linux 8 using yum and dnf.