Lets first install the rpmorphan package:
sudo yum install rpmorphan
and here is the description of the package:
rpmorphan finds "orphaned" 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.
 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.
Now, you can simply run the command
to see a list of the orphaned packages on the system 🙂
And once you have verified that you want to remove all the listed application, then you can run the following command:
sudo yum remove $(rpmorphan |tr '\n' ' ')