Single command to install an rpm and all its pre-requisites.
ashok Kumar
writetoashok at gmail.com
Fri Dec 30 12:53:27 UTC 2005
>
>
> way I can ask to install an rpm and also those rpm's that are its
> pre-requisites in a single command.
>
You can use the rpm -ivh *
or
rpm -ivh pack1.rpm pack2.rpm
For packages by redhat, use the --aid option, like
rpm -ivh pack1.rpm --aid
This assumes that all the dependency packages of pack1.rpm are in the
current directory, and also the rpmdb-redhat package is already installed.
The rpmdb-redhat pakage contains the database of all redhat packages. For
--aid option to work, this must be installed.
--
regards,
Ashok.
More information about the redhat-list
mailing list