[Redhat] Clean unused/orphan packages

The package yum-utils provide a useful tool called package-cleanup. You can use it to remove ‘unused’ packages like this:

# package-cleanup --leaves

and orphan packages like this:

# package-cleanup --orphans