Installing RPM's inside %post

FlorianFesti ffesti at
Mon Jul 5 07:15:47 UTC 2010

On 07/04/2010 06:46 PM, Samir Cury wrote:
> run on %post that actually installs other RPMs
Don't! The right way of doing this would be setting up a yum repository. 
You can then either set up a comps group or create a meta package 
containing Requires: to the other packages. If you don't want to use any 
higher level tools you can still just use Requires: within a meta 
package - which will require listing them at the CLI or use a manifest 
file. This is simply a textfile listing all the packages that should be 
installed. RPM can just read them in if given at the command line and 
then opens and installs the packages listed there.


More information about the Rpm-list mailing list