Gentoo Archives: gentoo-user

From: YoYo Siska <yoyo@××××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fetch List
Date: Tue, 05 Jun 2012 12:00:48
Message-Id: 20120605115808.GA25286@ksp.sk
In Reply to: [gentoo-user] Fetch List by Silvio Siefke
1 On Tue, Jun 05, 2012 at 01:37:11PM +0200, Silvio Siefke wrote:
2 > Hello,
3 >
4 > is there a option that i can build a list of Requirements to download of
5 > a ebuild?
6 >
7 > I want build inkscape, but i has only mobile connection at moment. Can i
8 > build a list which i can then later load in a cybercafe?
9 >
10 > In the Handbook i found only a list for world. Thank u.
11
12 use -p -f (pretend and fetchonly)
13
14 emerge --pretend --fetchonly package...
15
16 it will output a line per each file/url you need to fetch (and put in
17 the distfiles dir), one line can contain multiple alternate urls (if there are
18 alternative mirrors etc...), you need to fetch only one of them
19
20 IIRC, it has a small downside, that it also lists the files you allready
21 have downloaded in distfiles (ie those for which emerge -pv would show
22 0kB as size of downloads...) so you might check the list against what
23 you allready have...
24
25
26 yoyo