Gus Wirth wrote:
James G. Sack (jim) wrote:
Urivan Saaib wrote:
Lan,

If your rpm supports the --aid switch, you can do:

cd /path/to/dvd/rpms
rpm -ivh --aid MythDora-version.rpm

and it should install the required dependencies,..

You mean I can install a downloaded rpm and the rpm program will make
use of yum (or?) to automatically resolve dependencies? =-O

Whoa! I didn't know that.
Why has that feature been hidden from me? ;-)

Because you didn't read the man page? From the yum man page:

 localinstall
    Is used to install a set of local rpm  files.  If  required  the
    enabled repositories will be used to resolve dependencies.

Perhaps I shouldn't be so flippant. This is a feature of yum, not rpm directly. To use it, download a package. Then, use yum to install it, like so:

# yum localinstall downloaded-package.rpm

As per the above reference, the dependencies for the package will be resolved using the active repositories and the package(s) will be installed.

This feature has been available in yum ever since it first came out.

Gus


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to