Koozali.org: home of the SME Server

[RESOLVED] Download rpms with YUM

Offline cool34000

  • *
  • 339
  • +0/-0
[RESOLVED] Download rpms with YUM
« on: April 13, 2007, 02:37:11 AM »
Hi everyone !

I was wondering if it's possible to download rpms using YUM...
I didn't see an option to match what I'm looking for: I just need to download rpms, not to install them!

Thanks.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Download rpms with YUM
« Reply #1 on: April 13, 2007, 03:10:36 AM »
Quote from: "cool34000"

I was wondering if it's possible to download rpms using YUM...
I didn't see an option to match what I'm looking for: I just need to download rpms, not to install them!


yum doesn't provide that capability. yumdownloader, from the yum-utils pakage, does.

Offline cool34000

  • *
  • 339
  • +0/-0
[RESOLVED] Download rpms with YUM
« Reply #2 on: April 13, 2007, 05:06:57 AM »
Thanks for the quick reply.

Yum-utils seems to be perfect for what I need!

I found it on smedev repo but it seems that I have to update yum >= 3.1.1 and python >= 2.4  :cry:

I've search for a compatible rpm and I found this one : yum-utils-0.3.1-1.fc4.noarch.rpm
Would it be serious to install it on a prod server ?

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
[RESOLVED] Download rpms with YUM
« Reply #3 on: April 13, 2007, 06:55:55 AM »
This command installs yum-utils-0.5-1.c4 from Centos extras:

# yum install yum-utils --enablerepo=extras

Darrell

Offline cool34000

  • *
  • 339
  • +0/-0
[RESOLVED] Download rpms with YUM
« Reply #4 on: April 13, 2007, 02:00:41 PM »
Thanks Darrell, I didn't think to look in repo EXTRAS :?

Thanks again to both of you :)