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-220.127.116.11.rpm (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?
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.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.