Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does any one know what the difference between Squid and apt-cache server in Ubuntu? Cause I'm just familiar with apt-cache server.

share|improve this question
up vote 1 down vote accepted

Apples and oranges, really.

Squid is a general purpose proxy - you can use this for caching websites in general, filtering or even altering content.

apt-cacher server caches packages, and nothing else -its a nice way to save bandwidth on a network.

From the manpage

Apt-cacher is a caching proxy for Debian packages, allowing a number of computers to share a single local cache. Packages requested from the cache only need to be downloaded from the Debian mirrors once, no matter how many local machines need to install them. This saves internet bandwidth and improves performance for local users, and reduces the load on the mirrors.

share|improve this answer
If I want to centralize download packages or just server which direct connected to internet and for client get new packages from server.Which one the suitable for do it ? – klox Jun 20 '12 at 1:46
apt-cacher is better. Squid is more if you want to do content management, general caching of web. You might also want to take a look at apt-mirror if you just want to mirror the whole repo. – Journeyman Geek Jun 20 '12 at 1:50
you said mirror the whole repo ? how it looks like?But for apt-cache doesn't work in my ubuntu 12.04, just like my previous post. – klox Jun 20 '12 at 1:55
I can't see your previous post unless i look for it. You asked for the difference - and well squid isn't what you're looking for. – Journeyman Geek Jun 20 '12 at 2:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .