This question already has an answer here:
- Local installation of .rpms using YUM 2 answers
I need to install a CentOS package and its dependencies totally offline in my lab.
this post is about Ubuntu instead of CentOS.
the only way I can imagine is to setup a mirror somewhere else, and move it physically to my lab.
the question is how to get all the dependencies of a specific CentOS package.
is there a simpler way to do this?