Gentoo Archives: gentoo-user

From: "Lorenzu Hewa
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Installing software without an internet connection
Date: Wed, 05 Nov 2008 07:55:47
Message-Id: A09C649FB45C9046902D44205498F0EA03808783@lkcysxmb301.zone3.scb.net
In Reply to: Re: [gentoo-user] Installing software without an internet connection by Dirk Uys
1 Hi,
2 Thnks for the tip I shall try this and let y'll know the results
3
4 ...........................................................
5
6
7 I used to run an offline gentoo setup. You can use "emerge -upvf
8 <package-name(s)>" to get a list of files you need to obtain. Pipe the
9 output of that to some file, do some grep/sed to remove duplicates and
10 remove the multiple urls.
11
12 Write a script to fetch all the files in your file list. It can be as
13 simple as "for file in `cat filelist` do wget $URL/$file; done;" When
14 you get to an internet connection, run the script to fetch all the
15 files.
16
17 Copy the files you just downloaded to /usr/portage/dist and emerge the
18 package normally.
19
20 Here is a link to a project I used before:
21 http://www.tlug.org.za/wiki/index.php/Ogentools. I don't know if it's
22 still active?
23
24 The /usr/portage/distfiles directory can very quickly grow, clean it
25 up every now and then. Check the /var folder. When aborting ebuilds
26 with ctrl-c some files are left behind in /var/tmp/portage/.
27
28 Lastly I'd like to say, I feel for you, running gentoo offline can
29 sometimes be a painful process.
30
31 Regards
32 Dirk
33
34 This email and any attachments are confidential and may also be privileged. If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments. If received in error, notify the sender immediately and delete this email and any attachments from your system. Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended. Standard Chartered PLC and its subsidiaries do not accept liability for damage caused by this email or any attachments and may monitor email traffic.
35
36
37
38 Standard Chartered PLC is incorporated in England with limited liability under company number 966425 and has its registered office at 1 Aldermanbury Square, London, EC2V 7SB.
39
40
41
42 Standard Chartered Bank ("SCB") is incorporated in England with limited liability by Royal Charter 1853, under reference ZC18. The Principal Office of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the Financial Services Authority under FSA register number 114276.
43
44
45
46 If you are receiving this email from SCB outside the UK, please click http://www.standardchartered.com/global/email_disclaimer.html to refer to the information on other jurisdictions.