Re: question on yum-downloadonly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Dec 1, 2008, at 9:57 AM, Jerry Geis wrote:

I found yum-downloadonly and executed my command do that and save the
dependencies in my current directory.

Now when I execute my command:
rpm -i mypackage

all the dependencies are not found even though they are in the current directory.

if I do a "yum install mypackage" (and its in the current directory) its not found either.

How do I now install the mypackage in the current directory and look for all dependencies in the current directory?


here are two ways:

$ mkdir rpmtemp
$ sudo yum --downloadonly --downloaddir=./rpmtemp install <package>
$ sudo rpm -Uvh ./rpmtemp/*.rpm
$ sudo rm -rf rpmtemp

or

$ mkdir rpmtemp
$ sudo yum --downloadonly --downloaddir=./rpmtemp install <package>
$ sudo yum localinstall ./rpmtemp/*.rpm
$ sudo rm -rf rpmtemp

-steve

--
If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v



<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux