Re: Still trying to reduce the size of /, now that I have the bit between my teeth....
On Friday 23 September 2011 19:32:52 Martin Steigerwald wrote:
> Hi Lisi!
>
> Am Freitag, 23. September 2011 schrieb Lisi:
> > I still have two of the already suggested things to try, but meanwhile
> > my /usr is 3.7G, and my /, of which it forms part, is 4.7G. This
> > seems slightly disproportionate. How can I find out what is actually
> > needed - or even, used - in /usr?
>
> No, this seems just about right for me. At least for a desktop. /usr
> carriers all software installed by the package manager that is *not*
> required for booting. I.e. it usually contains a lot more as stored in sub
> directories of / directly. And when /var isn´t that large the proportions
> you noted do not surprise me a bit.
>
> Look at
>
> merkaba:~> LANG=C du -schx /usr /var
> 8.9G /usr
> 1.8G /var
> 11G total
> merkaba:~> LANG=C du -schx /
> 11G /
> 11G total
>
> My / basically consists of /usr and /var. The other stuff is negligible.
>
> As for saving space, have a look at:
>
> - debfoster
> - deborphan
> - aptitude in interactive mode under "obsolete / local" packages
> - du -sch /usr/local/* | egrep "[0-9](M|G)" | sort -rh
>
> and the other suggestions given.
Thanks, Martin. That is very helpful. I'm falling asleep now - but I'll look
at these tomorrow morning.
Lisi
Reply to: