Re: Can yum be used to update a directory instead of the running system?

Posted by pschaff on 2012/3/1 1:50:17
Why not create a Local Mirror? As more direct answer is "man yum" and look for
       --installroot=root
              Specifies an alternative installroot, relative to which all packages will be installed.
              Configuration Option: installroot
but I'm not sure if that is a good answer.

This Post was from: https://www.centos.org/newbb/viewtopic.php?forum=38&topic_id=36103&post_id=156272