Click to See Complete Forum and Search --> : rpm dependencies


skypilot49ul
03-29-2003, 11:53 AM
dependencies:
While installing an rpm I got dependency error so I downloaded the dependency file ,but that file also has a dependency ,so my question is ,what comes first the main program that is being installed or the dependencies,and how is that accomplished ?
ps .using shell command

Hayl
03-29-2003, 12:46 PM
if A depends on B then you have to intall B first.

therefore if B depends on C then C has to be installed before B and then B and then A.

i don't use rpm but i think it is:

rpm -i package_name.rpm

rid3r
03-29-2003, 12:47 PM
try to install whatever libraries your program requires first, then the program itself. Use the --nodeps flag if needed. For example:
rpm -ivh your_prog.rpm
if it gives you an error:
"failed dependencies: lib.whatever.so.2"
go to http://rpmfind.net, search lib.whatever.so.2 if needed, install it:
rpm -ivh --nodeps lib.whatever.so.2
man rpm will give you the other options (--force for example).

skypilot49ul
03-29-2003, 05:52 PM
Thanks for the help[