From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KxlDo-0003zR-AX for garchives@archives.gentoo.org; Wed, 05 Nov 2008 16:27:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDD9FE032D; Wed, 5 Nov 2008 16:27:07 +0000 (UTC) Received: from poseidon.rz.tu-clausthal.de (poseidon.rz.tu-clausthal.de [139.174.2.21]) by pigeon.gentoo.org (Postfix) with ESMTP id 877DCE032D for ; Wed, 5 Nov 2008 16:27:07 +0000 (UTC) Received: from poseidon.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 9175C2126B4 for ; Wed, 5 Nov 2008 17:26:36 +0100 (CET) Received: from tu-clausthal.de (poseidon [139.174.2.21]) by poseidon.rz.tu-clausthal.de (Postfix) with ESMTP id 51FB121246A for ; Wed, 5 Nov 2008 17:26:36 +0100 (CET) Received: from [2001:638:605:eea0:219:66ff:fe86:ce12] (account wevah HELO energy.localnet) by tu-clausthal.de (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 38584983 for gentoo-user@lists.gentoo.org; Wed, 05 Nov 2008 17:26:36 +0100 From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Does portage keep a copy of the file which it installs in the system Date: Wed, 5 Nov 2008 17:26:35 +0100 User-Agent: KMail/1.10.90 (Linux/2.6.27.4r4; KDE/4.1.71; x86_64; ; ) References: <1225873748.12914.20.camel@maya.local> In-Reply-To: <1225873748.12914.20.camel@maya.local> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200811051726.35949.volker.armin.hemmann@tu-clausthal.de> X-Virus-Scanned: by PureMessage V5.4 at tu-clausthal.de X-Archives-Salt: 13fd1f5d-a796-4f47-9fbb-347feddd2163 X-Archives-Hash: d7fad6262813e4cfbe7db5fd9f3f039a On Mittwoch 05 November 2008, Daniel Troeder wrote: > Am Mittwoch, den 05.11.2008, 12:50 +0530 schrieb Lorenzu Hewa, Gayan > > Neomal: > > Does portage keep a copy of the file which it installs in the system? > > Yes: /var/db/pkg (/var/db/pkg/*/*/CONTENTS) no, that is just a LIST. =2E > > > Because after the intial installation the gentoo system only contains > > few packages and it takes up about 2.5 GB =E2=80=A6 Where other distro= =E2=80=99s like > > slackware would take up 2.5 GB for every thing with out KDE or > > Gnome . > > Then: Gentoo installs (in binary distros terms) all "*-dev" packages > (all libs and headers), as it needs this for compiling - that blows the > system a lot. a bit ;) but yes. > In my system (GNOME, lots of servers, development software) the > installed package DB (/var/db/pkg) is about 200 MB. > The portage tree (/usr/portage) is about 500 MB for everybody... > > > Where should I look for information =E2=80=A6 > > * Use 'qsize' from app-portage/portage-utils to find out package sizes. > * Use 'du -sm /* /*/* | sort -n' to take a first peak at how files are > distributed on your disk. and don't forget that du is lying - a lot.