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 1Kxd9H-0006UE-Tx for garchives@archives.gentoo.org; Wed, 05 Nov 2008 07:49:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DBA4E03D3; Wed, 5 Nov 2008 07:49:54 +0000 (UTC) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by pigeon.gentoo.org (Postfix) with ESMTP id 50C36E03D3 for ; Wed, 5 Nov 2008 07:49:54 +0000 (UTC) Received: by fk-out-0910.google.com with SMTP id 18so4888121fks.2 for ; Tue, 04 Nov 2008 23:49:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=x3bShwTbNy7VJW4VORvVZzc3lhOAP3zsBt8m0bN+odM=; b=KeUNBKEH7ism12z4ldROE/+Yrkamkl08jpq5qSP8erpti9OXONjQ+zMWq5C9bhBWZC a5N0WlgPEl/uCv3cBxoljZis+JFGN+wLK2fp+BQUVV6fzRbE2IUqfb8nTskikm3OAh2+ f6I1k+/4EYI4BtPmtaQF9JhfXd0DbXXhEcCgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UFREradUPbo9VMW/PACY1EVlT5YOhR+Yw525e00KwpdhFcR62chBLYLke4/ZH/ywFp L5IDsGB0HEkQ8+1pDZGW32I+FAQzoqHiXUr+tW1Y5O2ZUIKeIUbh3mFtO5lWfgtgtUKb 9Mpu4w+fbZuTfClyiv+7BEQ+qvmcdNiadNUhU= Received: by 10.187.168.15 with SMTP id v15mr83115fao.41.1225871391259; Tue, 04 Nov 2008 23:49:51 -0800 (PST) Received: by 10.187.158.20 with HTTP; Tue, 4 Nov 2008 23:49:51 -0800 (PST) Message-ID: <79e3aefb0811042349q18c0e801i1fe4259961595377@mail.gmail.com> Date: Wed, 5 Nov 2008 09:49:51 +0200 From: "Dirk Uys" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Installing software without an internet connection In-Reply-To: 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=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <79e3aefb0811042224h6696aecdy64bcb930962cf1d5@mail.gmail.com> X-Archives-Salt: 79a99e24-38f4-4a7c-b947-0436ea0f553a X-Archives-Hash: f4997374339220861584860ecab4eedf On Wed, Nov 5, 2008 at 9:18 AM, Lorenzu Hewa, Gayan Neomal wrote: > I Used the Live CD ... It does contain few packages like X11,xfce4, gdm > , some network utils,vim . But I need to get other packages which I > need. lIke Gcj , fluxbox , mpg321 ... > > Even though it has only few packages installed it consumes a lot of disk > space... that another problem im having. > > Thanks & Regards, > > Gayan Lorenzu Hewa | Sub Officer | Wholesale Banking Corporate Service > Center | Standard Chartered Bank > (: 0115-397335): 0773-652003 6: 0115-397337 *: > GayanNeomal.LorenzuHewa@standardchartered.com I used to run an offline gentoo setup. You can use "emerge -upvf " to get a list of files you need to obtain. Pipe the output of that to some file, do some grep/sed to remove duplicates and remove the multiple urls. Write a script to fetch all the files in your file list. It can be as simple as "for file in `cat filelist` do wget $URL/$file; done;" When you get to an internet connection, run the script to fetch all the files. Copy the files you just downloaded to /usr/portage/dist and emerge the package normally. Here is a link to a project I used before: http://www.tlug.org.za/wiki/index.php/Ogentools. I don't know if it's still active? The /usr/portage/distfiles directory can very quickly grow, clean it up every now and then. Check the /var folder. When aborting ebuilds with ctrl-c some files are left behind in /var/tmp/portage/. Lastly I'd like to say, I feel for you, running gentoo offline can sometimes be a painful process. Regards Dirk