what to delete in /usr

David Thornton david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org
Tue Feb 7 02:11:53 UTC 2006


caitken-Bm8TULXj0r/3fQ9qLvQP4Q at public.gmane.org wrote:

> Sometimes, now, when I open OpenOffice it hangs my business production 
> computer. I checked for any partition that may be full. I found this:
> [chris at a800 chris]$ df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda1              1004024    254928    698092  27% /
> /dev/hda3              2016044   1468792    444840  77% /home
> none                    127696         0    127696   0% /dev/shm
> /dev/hda2              2949060   2698768    100488  97% /usr
> [chris at a800 chris]$
> Clearly I need to lighten /usr 's load. What can I delete? The only 
> programs I really use on the computer are Mozilla and OpenOffice but I 
> don't want to delete programs that I don't know what they do or that 
> other programs may rely on...
> Chris
> -- 
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml

on a redhat system:

rpm -qa --queryformat "[%-30{=SIZE} %{NAME}\n]" | sort -rn

under gentoo

equery size <packagename>

will tell you size.. Dunno how you would get the size of all package 
sand sort in reverse though.

David

-- 
Let one walk alone, 
committing no sin with few wishes, 
like an elephant in the forest. 
-- Ghost in the shell 2: Innocence 

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list