Ubuntu – Is it possible to mirror the apt repositories

mirrorsrepository

I am a student at Case Western Reserve University, and the bandwidth from the Ubuntu servers to my location is often horrendously bad (on the order of a few hundred bytes per second). Myself and a few friends would like to be able to download the packages once, and have them cached for the rest of our Ubuntu installations on campus. To do that, we would either need to setup our own APT repositories, or setup some form of caching (squid?) server at which we could point our systems.

Is setting up such a mirror a difficult process? How would one accomplish it?

Best Answer

You might want to use apt-proxy instead of a full mirror, since it will then take considerably less space and time to get set up:

https://help.ubuntu.com/community/AptProxy

You would then need to update the repository lists for anyone wanting to use your proxy.