Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Achilles
Apprentice
Apprentice


Joined: 03 Jun 2002
Posts: 259
Location: Chicago

PostPosted: Thu Jun 06, 2002 6:54 pm    Post subject: Emerge question Reply with quote

Is there a way to emerge every package (even ones not installed on my system?)

I just got my system set up and I want to download the rest of the files
Back to top
View user's profile Send private message
Remco
n00b
n00b


Joined: 16 May 2002
Posts: 25
Location: Netherlands

PostPosted: Thu Jun 06, 2002 7:05 pm    Post subject: Re: Emerge question Reply with quote

Achilles wrote:
Is there a way to emerge every package (even ones not installed on my system?)

I just got my system set up and I want to download the rest of the files

I am pretty sure you don't want to do an emerge-every-file-in-the-portage tree, really, you only want to emerge the stuff you need... I you meant you want to emerge stuff that is not in the portage tree: no you can't. On the other hand: if there is something you want to install you can in moste cases download the source, unpack it and then do (as root)

Code:
./configure
make
make install

If you feel like it you can try to make an ebuild after that and share it (don't know the link, someone will)
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 06, 2002 7:05 pm    Post subject: Re: Emerge question Reply with quote

Achilles wrote:
Is there a way to emerge every package (even ones not installed on my system?)


Yes -- type:

Code:
emerge <really long list of all package names here>


Then, after about 6 weeks of compiling (assuming you have enough disk space), you should have a broken, non-functional Gentoo system, ready to go!

Achilles wrote:
I just got my system set up and I want to download the rest of the files


There are (as of now) 1856 Gentoo packages available. Do you have any idea what you're trying to do? You cannot possibly need to emerge all of them onto one system.

If you're just looking to download all the files, then you don't want to use emerge -- you want to use rsync. man rsync for more details. (I hope you have lotsa disk space) Unless you have a need for all the files, I would encourage you to only download those that you do need. Bandwidth costs money -- maybe not to you, but certainly to the Gentoo project and those that support it. Be a good netizen and don't abuse that.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Thu Jun 06, 2002 10:23 pm    Post subject: Reply with quote

It's late but I think this will generate your list:
Code:
find /usr/portage -type d -maxdepth 3 -mindepth 3 | cut -d / -f 5

well guess there are 1966 packages. If you only want to download the sources then use emerge -f . Don't know why you want to do this, and frankly I don't wanna know,..... :wink:

I told you it was late, maybe you need to filter some directories out of the list put | grep -v "/<directory>/" before cut....

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum