On 6/30/10, Shoka <sh...@gmx.ch> wrote: > Hello group, > > I'm trying to build kind of a minimal gentoo setup with X support. All I > need is > > - X11 and a Window Manager > - Mozilla Firefox > - Lighttpd > > I use Gnome at this time. > > du reports the following directories as the biggest directories on my > system: > > /usr/lib 418 MB > /usr/portage 1200 MB > /usr/share 550 MB > /usr/src 560 MB (Kernel Sources) > > The other directories are very small. > > I think, the system is quite heavy in size, isn't it? I really would > like to be able to shrink it down but not loosing functionality. > > Now I'm looking for tips to reduce disk consumption further. I've > already cleaned /usr/portage/distfiles. > > I read that removing the whole /usr/portage after setting up the system > is not a good idea. Is that true? > > May be someone could recommend a better window manager (smaller in size, > stable)? > > I really appreciate any kind of recommendation to this topic.
Advice given so far seems to assume that you only have this one system. But if you have another system that can take care of compiling and building binary pkgs then you can probably slice off the 50MB+ or more out of gcc, autotools, and such as well. In effect, turning Gentoo into your very own, private binary distro. As already mentioned, the embedded folks probably know this intimately. Also, see the portage man page for defining your own system set (without, e.g., gcc and autoconf), and man page of emerge for option --buildpkg (and also other --*pkg* options of emerge). Good luck, have fun! -- Arttu V. -- Running Gentoo is like running with scissors