Squid on Ubuntu

Pre-Built Binary Packages

Packages available for Squid on multiple architectures.

  • Maintainer: Luigi Gangitano

Squid-3.1

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

Install Procedure:

 aptitude install squid3

Squid-3.0

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

Install Procedure:

 aptitude install squid3

Squid-2.7

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

Install Procedure:

 aptitude install squid

Compiling

(see Debian)

From 2.6.STABLE14 Squid should compile easily on this platform.

  • /!\ 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:

  --prefix=/usr
  --localstatedir=/var
  --libexecdir=${prefix}/lib/squid
  --srcdir=.
  --datadir=${prefix}/share/squid
  --sysconfdir=/etc/squid

From Squid 3.0 the default user can also be set. The Debian package default is:

  --with-default-user=proxy

From Squid 3.1 the log directory and PID file location are also configurable. The Debian package defaults are:

--with-logdir=/var/log
--with-pidfile=/var/run/squid.pid

{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.

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.

Troubleshooting


CategoryKnowledgeBase SquidFaq/BinaryPackages

KnowledgeBase/Ubuntu (last edited 2011-09-22 00:03:52 by Amos Jeffries)