[clug] Yum fetching rpms to local disk

Tony Breeds tony at bakeyournoodle.com
Tue Sep 7 19:01:13 MDT 2010

On Wed, Sep 08, 2010 at 01:26:33AM +1000, Michael Still wrote:
> On 9/8/10 1:07 AM, Boris Rousak wrote:
> ># yum install {your_package_name} -y --downloadonly
> >
> >you can even do "|--downloaddir=/opt" type of thing with it
> >
> >Should probably mention that its a yum add on, so first do something like:
> ># yum install yum-downloadonly
> Thanks! I assume its then safe to rpm -i the packages without
> screwing up some system database somewhere?

rpm -i is safe and fine, but you're best to yum localinstall ./foo.rpm

Yours Tony

More information about the linux mailing list