1 |
Am Mittwoch, den 05.11.2008, 12:50 +0530 schrieb Lorenzu Hewa, Gayan |
2 |
Neomal: |
3 |
> Does portage keep a copy of the file which it installs in the system? |
4 |
Yes: /var/db/pkg (/var/db/pkg/*/*/CONTENTS) |
5 |
|
6 |
The information in /var/db/pkg is more nicely accessed through the |
7 |
utilities in app-portage/portage-utils and app-portage/gentoolkit. |
8 |
Install theses packages and play with the tools - it will make your |
9 |
gentoo-life a lot nicer :) |
10 |
A must (at least for me) is also app-portage/eix to access the |
11 |
information in /usr/portage quickly. |
12 |
|
13 |
> Because after the intial installation the gentoo system only contains |
14 |
> few packages and it takes up about 2.5 GB … Where other distro’s like |
15 |
> slackware would take up 2.5 GB for every thing with out KDE or |
16 |
> Gnome . |
17 |
1st: |
18 |
# rm /usr/portage/distfiles/* |
19 |
|
20 |
Then: Gentoo installs (in binary distros terms) all "*-dev" packages |
21 |
(all libs and headers), as it needs this for compiling - that blows the |
22 |
system a lot. |
23 |
|
24 |
In my system (GNOME, lots of servers, development software) the |
25 |
installed package DB (/var/db/pkg) is about 200 MB. |
26 |
The portage tree (/usr/portage) is about 500 MB for everybody... |
27 |
|
28 |
> Where should I look for information … |
29 |
* Use 'qsize' from app-portage/portage-utils to find out package sizes. |
30 |
* Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are |
31 |
distributed on your disk. |
32 |
|
33 |
Bye, |
34 |
Daniel |
35 |
|
36 |
-- |
37 |
PGP key: http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get |
38 |
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 |