Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
1  
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.