3 ms·
Talking about automating apt-get, yum and the like, is there a way to cache frequently downloaded packages on developer machine in the same local network? For
by kaivi 13y ago
Talking about automating apt-get, yum and the like, is there a way to cache frequently downloaded packages on developer machine in the same local network?
For instance, I have a bunch of disposable VMs, and I don't want them to download the same gigabytes every time I run init-deploy-test.
- unethical_ban 13y agoapt-mirror creates a full repository, and there's a tool called deb-squid-proxy or some combo of those words that lazily caches packages.
- ema_rocca 13y agoYou might want to give a try to apt-cacher-ng. apt-get install apt-cacher-ng
- cdjk 13y agoI use this - and it's great with my slow internet connection. It's totally transparent, and I only notice it if my vm running it is down. And despite the name, newer versions work with yum too (although I found I had to disable the fastest mirror yum plugin to get reliable caching).