LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Istalling rpm INCLUDING dependencies via command line? (http://www.linuxquestions.org/questions/linux-software-2/istalling-rpm-including-dependencies-via-command-line-101525/)

rgerhards 10-08-2003 02:26 AM

Istalling rpm INCLUDING dependencies via command line?
 
Hi,

I wonder if there is a way to install a rpm INCLUDING all its dependencies (as well as there dependencies, the whole tree...).

I know that the graphical tools can do this, but I would like to be able to do it from the command line. I can make sure I have the full sets of RPMs available and accessible.

Also, I know this can be done by a number of "add-ons", but I wonder if there is a solution that can be done with the tools coming with a minimal install (e.g. Red Hat 9 Server option).

I would like to know this because I am thinking on automating things as well as using remote rented servers which may have only this setup and I am only able to configure via ssh.

Any comments are deeply appreciated,
Rainer

XavierP 10-08-2003 03:35 AM

I think you would need to:

put all the rpms into one folder
cd into the folder
type "rpm -ivh *.rpm" w/o the quotes and they would all install together.


All times are GMT -5. The time now is 08:07 AM.