malebolgia Veteran Posted December 10, 2003 Veteran Share Posted December 10, 2003 I want to install all the games that are on Gentoo online package database. I thought I could get away with emerge games-arcade for the arcade section. However I get an error so I guess I can't do that. How would I accomplish this? Link to comment Share on other sites More sharing options...
kjordan2001 Posted December 11, 2003 Share Posted December 11, 2003 You could do: cd /usr/portage/games-arcade emerge `ls` I think that should do it. Link to comment Share on other sites More sharing options...
kemical Posted December 11, 2003 Share Posted December 11, 2003 first by pasting the error? Link to comment Share on other sites More sharing options...
kjordan2001 Posted December 11, 2003 Share Posted December 11, 2003 first by pasting the error? Well he's getting an error because you can't emerge the entire set of programs in the directory by typing "emerge games-arcade" you have to emerge single packages e.g. "emerge tuxracer", or multiple packages on the same line such as "emerge tuxracer cube". I think mine should do it because ls will return the names of the folders which is the name of the packages and by putting ` ` around it, it allows it to be evaluated and then used like you typed them all in yourself. It would be bad if you could emerge a whole directory of packages, because then you could emerge a whole bunch of stuff you didn't want if you didn't know what you were doing. Link to comment Share on other sites More sharing options...
kemical Posted December 11, 2003 Share Posted December 11, 2003 yea but isnt there a package called like gnome-arcade or something of that nature Link to comment Share on other sites More sharing options...
kjordan2001 Posted December 11, 2003 Share Posted December 11, 2003 yea but isnt there a package called like gnome-arcade or something of that nature It's a package group. Link to comment Share on other sites More sharing options...
HellBender Posted December 12, 2003 Share Posted December 12, 2003 You could do: cd /usr/portage/games-arcade emerge `ls` I think that should do it. I was wondering how to emerge a whole package group too. Thanks for that ;) Link to comment Share on other sites More sharing options...
kjordan2001 Posted December 12, 2003 Share Posted December 12, 2003 I was wondering how to emerge a whole package group too. Thanks for that ;) So that worked? I was thinking ls would have it in the right format (just names on a line), but wasn't sure. Never actually tried emerging a whole package group (never needed to). Link to comment Share on other sites More sharing options...
HellBender Posted December 12, 2003 Share Posted December 12, 2003 So that worked? I was thinking ls would have it in the right format (just names on a line), but wasn't sure. Never actually tried emerging a whole package group (never needed to). Indeed, I think it (sort of) worked. Some of the packages in the ls weren't found, but most of them were. Cool :] Also, I tried an emerge -C `ls` and that worked well also. Same problem as above but for the most part it was fine. Link to comment Share on other sites More sharing options...
Recommended Posts