Digital Care interview question

How to make offline repository in Linux?