How To Install rpmorphan on Fedora 36

In this tutorial we learn how to install rpmorphan in Fedora 36. rpmorphan is List packages that have no dependencies (like deborphan)

Introduction

In this tutorial we learn how to install rpmorphan on Fedora 36.

What is rpmorphan

rpmorphan finds “orphaned”[1] packages on your system. It determines which packages have no other packages depending on their installation, and shows you a list of these packages. It intends to be clone of deborphan Debian tools for rpm packages. It will try to help you to remove unused packages, for example * after a distribution upgrade * when you want to suppress packages after some tests Several tools are also provided * rpmusage - display rpm packages last use date * rpmdep - display the full dependency of an installed rpm package * rpmduplicates - find programs with several version installed Yum offers a program called ‘package-cleanup’ which you can use to carry out similar tasks. [1] Note that orphan is used in the sense of Debian’s deborphan, and is NOT the same as Fedora orphaned packages which are packages that have no current maintainer.

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

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

sudo dnf -y install rpmorphan

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

sudo yum -y install rpmorphan

How To Uninstall rpmorphan on Fedora 36

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

sudo dnf remove rpmorphan

rpmorphan Package Contents on Fedora 36

/etc/logrotate.d/rpmorphan
/etc/rpmorphanrc
/usr/bin/grpmorphan
/usr/bin/rpmdep
/usr/bin/rpmdep.pl
/usr/bin/rpmduplicates
/usr/bin/rpmduplicates.pl
/usr/bin/rpmextra
/usr/bin/rpmextra.pl
/usr/bin/rpmorphan
/usr/bin/rpmorphan.pl
/usr/bin/rpmusage
/usr/bin/rpmusage.pl
/usr/share/doc/rpmorphan
/usr/share/doc/rpmorphan/Authors
/usr/share/doc/rpmorphan/COPYING
/usr/share/doc/rpmorphan/Changelog
/usr/share/doc/rpmorphan/NEWS
/usr/share/doc/rpmorphan/Readme
/usr/share/doc/rpmorphan/Todo
/usr/share/doc/rpmorphan/rpmorphan.lsm
/usr/share/doc/rpmorphan/rpmorphanrc.sample
/usr/share/man/man1/rpmdep.1.gz
/usr/share/man/man1/rpmduplicates.1.gz
/usr/share/man/man1/rpmextra.1.gz
/usr/share/man/man1/rpmorphan.1.gz
/usr/share/man/man1/rpmusage.1.gz
/usr/share/rpmorphan
/usr/share/rpmorphan/Tk
/usr/share/rpmorphan/Tk/MListbox.pm
/usr/share/rpmorphan/locale
/usr/share/rpmorphan/locale/en
/usr/share/rpmorphan/locale/en/rpmorphan_trans.pl
/usr/share/rpmorphan/locale/fr_FR
/usr/share/rpmorphan/locale/fr_FR/rpmorphan_trans.pl
/usr/share/rpmorphan/rpmorphan-curses-lib.pl
/usr/share/rpmorphan/rpmorphan-lib.pl
/usr/share/rpmorphan/rpmorphan-tk-lib.pl
/var/lib/rpmorphan
/var/lib/rpmorphan/keep
/var/log/rpmorphan.log

References

Summary

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