1 |
On 06/30/10 06:48, Shoka wrote: |
2 |
> Hello group, |
3 |
> |
4 |
> I'm trying to build kind of a minimal gentoo setup with X support. All I |
5 |
> need is |
6 |
> |
7 |
> - X11 and a Window Manager |
8 |
> - Mozilla Firefox |
9 |
> - Lighttpd |
10 |
> |
11 |
> I use Gnome at this time. |
12 |
> |
13 |
> du reports the following directories as the biggest directories on my |
14 |
> system: |
15 |
> |
16 |
> /usr/lib 418 MB |
17 |
> /usr/portage 1200 MB |
18 |
> /usr/share 550 MB |
19 |
> /usr/src 560 MB (Kernel Sources) |
20 |
> |
21 |
> The other directories are very small. |
22 |
> |
23 |
> I think, the system is quite heavy in size, isn't it? I really would |
24 |
> like to be able to shrink it down but not loosing functionality. |
25 |
> |
26 |
> Now I'm looking for tips to reduce disk consumption further. I've |
27 |
> already cleaned /usr/portage/distfiles. |
28 |
> |
29 |
> I read that removing the whole /usr/portage after setting up the system |
30 |
> is not a good idea. Is that true? |
31 |
> |
32 |
> May be someone could recommend a better window manager (smaller in size, |
33 |
> stable)? |
34 |
> |
35 |
> I really appreciate any kind of recommendation to this topic. |
36 |
> |
37 |
> |
38 |
> Kind regards, |
39 |
> André |
40 |
> |
41 |
> |
42 |
> |
43 |
If you're looking to save size in /usr/portage, you might consider |
44 |
squashing it ( http://en.gentoo-wiki.com/wiki/Squashed_Portage_Tree). |
45 |
Portage is a few hundred thousand files IIRC and most filesystems don't |
46 |
cope with that very well. My portage sqfs is one file about 47 MB. |
47 |
This has the side effect of making portage lookups a lot faster, as |
48 |
well, since it's all kept in RAM. It's a bit of work, and adds |
49 |
complexity to kernel upgrades, but it's been worthwhile for me. |
50 |
|
51 |
Also, Gnome is not a particularly minimal or light desktop |
52 |
environment. In fact, quite the opposite. You could probably save a |
53 |
lot of space by switching to xfce or lxde or something like that, if you |
54 |
don't need all of the fluff in Gnome. There's also a gnome-light meta |
55 |
that cuts out some of the extras, if you want to keep the Gnome |
56 |
look-and-feel. I'm using xfce after a long time with Gnome and didn't |
57 |
find the transition difficult at all. I did wind up compiling a few of |
58 |
my gnome-specific tools (banshee, gthumb in particular) which brought in |
59 |
some gnome libraries, but the gnome meta still offers to pull in about a |
60 |
hundred new packages. |
61 |
|
62 |
-Andy |