Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system
Date: Wed, 05 Nov 2008 16:27:08
Message-Id: 200811051726.35949.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system by Daniel Troeder
1 On Mittwoch 05 November 2008, Daniel Troeder wrote:
2 > Am Mittwoch, den 05.11.2008, 12:50 +0530 schrieb Lorenzu Hewa, Gayan
3 >
4 > Neomal:
5 > > Does portage keep a copy of the file which it installs in the system?
6 >
7 > Yes: /var/db/pkg (/var/db/pkg/*/*/CONTENTS)
8
9 no, that is just a LIST.
10 .
11 >
12 > > Because after the intial installation the gentoo system only contains
13 > > few packages and it takes up about 2.5 GB … Where other distro’s like
14 > > slackware would take up 2.5 GB for every thing with out KDE or
15 > > Gnome .
16 >
17 > Then: Gentoo installs (in binary distros terms) all "*-dev" packages
18 > (all libs and headers), as it needs this for compiling - that blows the
19 > system a lot.
20
21 a bit ;) but yes.
22
23 > In my system (GNOME, lots of servers, development software) the
24 > installed package DB (/var/db/pkg) is about 200 MB.
25 > The portage tree (/usr/portage) is about 500 MB for everybody...
26 >
27 > > Where should I look for information …
28 >
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 and don't forget that du is lying - a lot.

Replies

Subject Author
Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system Alan McKinnon <alan.mckinnon@×××××.com>