0

How to remove unused packages in linux

I have many unused packages that exist in my machine. How to find out the packages and remove them..???

yum utils Add a comment
noah
asked Feb 21 2017

Answer

0

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.

Add a comment
piraisudanrajendran
asked Feb 23 2017
edited Oct 05 2018
Post your Answer