1 Answer
if you use debian or ubuntu you can use deborphan tool.
if you use centos or RHEL you can use rpmorphan. first you must install it and you can use following command for list the unused packages for last 10 days.
rpmorphan --all --access-time 10
then you can use yum remove
command for remove the unused packages.
Your Answer