what to delete in /usr

Muhammad Imran imranqau-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org
Fri Feb 3 21:00:04 UTC 2006


>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...

What I would suggest is instead of directly deleting any files from /usr. 
You go to System Settings > Add/Remove applications (or something similar 
depending on which distribution u use) and remove any packages/applications 
that you don't need. Most of the applications install files in /usr so by 
deleting any unwanted packages you should be able to free up some space.

Another option, run this command: du -h /usr
this command will tell you how much space each file/directory is using. so u 
can remove package to which those files belong (if u don't need that 
package).

Regards,
Imran

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
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