[Nottingham] Cleaning Up disk

Martin Garton nottingham at mailman.lug.org.uk
Thu Dec 19 16:26:00 2002


On Thu, 19 Dec 2002, Paul Sladen wrote:

> I suspect that uninstalling some package/application will probably recover
> you more space than deleting all of the above.

I agree, and I have found that when I need to clear some space on an RPM
based system, something like the following is useful:

rpm -qa -qf "%{SIZE} %{NAME}\n" | sort -nr

which as you can guess will list the rpms installed in order of decreasing 
size.

Regards,
Martin.