I can install packages from Internet using:
yum install packagex This will download all the dependent packages and install them in order. For some of our customers who do not have Internet access, we want to do this by giving them a tarball of a repository creating just these packages.
Is it possible to do something like:
yum install packagex --createRepo /tmp/foo where all the packages are put in /tmp/foo in a repo format which I can tar and then can be used by yum to install packages offline?