Fedora Linux Support Community & Resources Center
  #1  
Old 14th December 2010, 08:25 AM
PryGuy's Avatar
PryGuy Offline
Registered User
 
Join Date: Feb 2010
Location: Russia
Age: 35
Posts: 45
linuxchrome
downloading packages from groups

Good day everyone!

I'm going to make a Fedora (and later CentOS) server install (not Live) CD and I want to build it from scratch downloading packages I need. Everything's fine with rpm files, according to this article I can download them either with:
Code:
yum reinstall -y --downloadonly --downloaddir=/path/to/repo package
or with:
Code:
yumdownloader --resolve --destdir=/path/to/repo package
But I do not know what to do when it comes to groups such as 'base' or 'core'. The only thing I could invent so far is the quick and dirty method:
Code:
yum groupinfo base | grep "   " | sed -e 's/^[ \t]*//' | tr "\n" " "
Is there a more kosher way for that? Thanks in advance!
Reply With Quote
  #2  
Old 14th December 2010, 08:35 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: downloading packages from groups

Quote:
Originally Posted by PryGuy View Post
Good day everyone!

I'm going to make a Fedora (and later CentOS) server install (not Live) CD and I want to build it from scratch downloading packages I need. Everything's fine with rpm files, according to this article I can download them either with:
Code:
yum reinstall -y --downloadonly --downloaddir=/path/to/repo package
or with:
Code:
yumdownloader --resolve --destdir=/path/to/repo package
But I do not know what to do when it comes to groups such as 'base' or 'core'. The only thing I could invent so far is the quick and dirty method:
Code:
yum groupinfo base | grep "   " | sed -e 's/^[ \t]*//' | tr "\n" " "
Is there a more kosher way for that? Thanks in advance!

Try

Code:
yumdownloader --resolve @base

Here's another example

Code:
yumdownloader --resolve @development-tools
Reply With Quote
  #3  
Old 14th December 2010, 08:51 AM
PryGuy's Avatar
PryGuy Offline
Registered User
 
Join Date: Feb 2010
Location: Russia
Age: 35
Posts: 45
linuxchrome
Re: downloading packages from groups

So simple! I feel dumb 'cause I used this syntax many times in kickstart before.
You've made my day! Thanks a lot!!!
Reply With Quote
Reply

Tags
groups, yumdownloader

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
downloading packages Buyit1986 Using Fedora 6 8th September 2009 06:03 AM
Packages when downloading Fedora walmala Installation and Live Media 0 1st October 2007 06:56 PM
Problems downloading RPM packages smQQkin Using Fedora 2 25th August 2006 04:57 AM
Downloading Packages from Another Computer CompMan44 Using Fedora 1 21st October 2005 12:18 AM


Current GMT-time: 07:33 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat