[Ilugc] download through yum

  • From: ilugsuman@xxxxxxxxx (Suman Adak)
  • Date: Wed Jul 19 19:11:12 2006

On 7/19/06, Pushparajan V <vprajan@xxxxxxxxx> wrote:


Hi Sivanandhan,

On 7/19/06, Suman Adak <ilugsuman@xxxxxxxxx> wrote:

On 7/19/06, Sivanandhan, P. <apsivam@xxxxxxxxx> wrote:

On 7/19/06, Suman Adak <ilugsuman@xxxxxxxxx> wrote:
hi list,

Is it possible to download all the packages including dependencies
packages
without installing with yum?
I searched man pages but unable to find out any command.
Can anybody point out how i will do this?


# man rpm

look for --aid option


--
Cheers,
Sivam
[Jai Hind]




i mean to say when we do " yum install mplayer" ..yum will look yum repo
and
download and install the mplayer packages along with dependency pacages.
My
aim is to only download these pacages.
I don't want to install.  I changed the /etc/yum.conf file [keepcache=1]
and
i could get all packages under /var/cache/yum/<repo name>/packagesor as
specified . But the things is that after downloading this packages yum is
going to  install these packages which i don't want. I can achive this by
pressing ctrl+c before installion start . i don't want to watch when
downloading of these packages has been finished ...............

are there any [arg] available with yum which can do this thing?

bye suman
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

AFAIK, You can do that.. yum works with a python script.. After download,
it will run the installation as a transaction. You can see the script
/usr/bin/yum..

It calls.. yummain.py which is in /usr/share/yum-cli/
go to the section "Run the Transaction"
Comment the "base.doTransaction()" or add some code to ask for "y/N"
before doing this.

For sure that, some other easy ways too exist.. iam not recommending
this..
go on with Google..


Thanks for your reply. Yes we can do that way. By the way  .
I just did " yum install yum-utils"  and  i got yumdownloader. Then i did
"yumdownloader -resolve gnuchess"  I  got the gnuchess packages without
installing. yumdownloader downloaded into my current directory.

Thanks for your reply

Other related posts: