This question already has an answer here:
Here's my situation. I'm in a 3rd-world country right now with limited internet access. I want to know if there's a way to download a bunch of packages, store them somewhere, and write a little bash script to mass install them.
Is there a website that has a repository where I can do a one-time download of these permanently instead of having to use a bunch of data doing "apt-get" every time I try out a fresh installation of a Linux distro?
After I download these is there a way I can easily install them all these deb or tar files by writing a little bash script?