Urivan Saaib wrote:
Jim,

rpm -ivh --aid file.rpm

Will work only if the rpm dependencies files are in the same directory of
the package you're trying to install (and running the command).


yum localinstall file.rpm

Will work if you have configured a repository on /etc/yum.conf (or similar) which has a reference to the path of the rpm dependecies, also file.rpm is a local file. The yum command does not require to be executed from the path where the file.rpm is located.

Thanks for the clarification. This solves the problem of installing packages off a CDROM or DVD without access to the network and without setting up your own repository. I, like Jim, was also oblivious to the --aid option, since I either resolved dependencies "by hand", or nowadays I just use yum.

Gus


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

Reply via email to