build .rpm package with all its dependencies

soulSurfer2010 asked:

I’m not sure if its the recommended approach or not, in case the user doesn’t have web access, and my software requires, lets say: libgcc- (for e.g), I would like to bundle this for the specific supported os (e.g: RHEL 5.10) and all of its dependencies in a single .rpm.

whats the best approach for this?


My answer:

You don’t need to bundle dependencies. If the end user doesn’t have Internet access, that’s their problem. Such places have a variety of methods for dealing with this, such as using the installation media to install and update packages, maintaining a local mirror of the distro, etc.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.