Re: Single command to install an rpm and all its pre-requisites.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
>
> 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.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux