Setup local packages repository

@sonnyyu
I have downloaded the baidu file, but when I scp to Yun, I get an error as I don't have much space.
Should I copy the image to the microSD card? I don't understand the process, could you clarify?
Thanks