[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Single command to install an rpm and all its pre-requisites.
- From: ashok Kumar <writetoashok gmail com>
- To: General Red Hat Linux discussion list <redhat-list redhat com>
- Subject: Re: Single command to install an rpm and all its pre-requisites.
- Date: Fri, 30 Dec 2005 18:23:27 +0530
>
>
> 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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]