when you upgrade your Linux box, you will often see forgotten packages, which should
be removed (you can check with rpm -qa --last
command).
In this case, you can use a command such rpmorphan --all --install-time +x
, with x as the number of days
to the upgrade, as a filter.
Linux distribution often install many packages, which are not all used. You can wish to suppress all unused packages :
In this case, you can use a command such rpmorphan --all --access-time 15
, which will list the orphaned
packages unused since 15 days or more.
If you are testing softwares, install is not a problem with modern tools such yum, urpmi, apt :
dependencies install is automatic.
The problem is when you want to remove all (software and dependencies) : this is not automatic, so you can forgot
some packages ...
In this case, you can use a command such rpmorphan --all --install-time -x
, which will list the orphaned
packages installed during the last x days.