Squid on Ubuntu

Pre-Built Binary Packages

Packages available for Squid on multiple architectures.

  • Maintainer: Luigi Gangitano


Bug Reports: https://bugs.launchpad.net/ubuntu/+source/squid3

Install Procedure:

 aptitude install squid3


Bug Reports: https://bugs.launchpad.net/ubuntu/+source/squid3

Install Procedure:

 aptitude install squid3


Bug Reports: https://bugs.launchpad.net/ubuntu/+source/squid

Install Procedure:

 aptitude install squid


(see Debian)

From 2.6.STABLE14 Squid should compile easily on this platform. The configure options changed in 3.1 series,

  • /!\ There is just one known problem. The Linux system layout differs markedly from the Squid defaults. The following ./configure options are needed to install Squid into the Linux structure properly:


{X} older Squid have problems with the default log directory. Remember they are only defaults. Altering squid.conf you can point the logs at the right path anyway without either the workaround or the patching. If you are forced to build an ancient Squid release, you may also need to symlink the /var/logs directory to /var/log before installing your new Squid.

As always, additional libraries may be required to support the features you want to build. The default package dependencies can be installed using:

aptitude build-dep squid3

This requires only that your sources.list contain the deb-src repository to pull the source package information. Features which are not supported by the distribution package will need investigation to discover the dependency package and install it.

  • {i} The usual one requested is libssl-dev for SSL support.

Compile on A basic Ubuntu Server


Squid can be built on a basic Ubuntu basic Server and it seems like an enterprise OS to me. The only dependencies are "build-essential" and "libltdl-dev" for squid to run as a forward proxy.

sudo apt-get install build-essential libltdl-dev

For more then just forward proxy like ssl-bump or tproxy We need a bit more testing.

Latest squid 3.3.8 builds and runs on ubuntu server 13.04.


CategoryKnowledgeBase SquidFaq/BinaryPackages

KnowledgeBase/Ubuntu (last edited 2013-07-28 15:48:07 by Eliezer Croitoru)