Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm not sure what you mean by 'command line dependencies' but if what you are trying to do is to be able to install the packages from the hd instead of the cds, Yes, just dump all the rpms from the cds into one folder.
Sorry a bit vague
What i am trying to do is give rpm command the capability to install from the installation cd's that is ask for the cd .The same as the Graphiical App . I have also coppied this macro file to the /etc RPM Directory
Oh I see. I think you can just copy the RPMs into a single folder like this:
cp -rv /mnt/cdrom/RedHat/RPMS/* /var/packages
note the *. This copies all the files in the RPMS directory instead of the directory itself. Repeat for the other CDs (if you what you had originally, it would overwrite the stuff from the first cd)
I used the cp -a and installed the macro into my home dir with only the second line u mentioned and it worked like a charm. The files it asks to overwrite r all the same on all 3 CD e.g GPL is lust the GPL license and is the same on all 3CD. Just out of curiosity run a diff.
The answer to u'r quetion is yeah cp away my friend