Installation on Debian
Varnish is distributed in the Debian package repositories, but the version there might be out of date, and we generally recommend using the packages provided by varnish-cache.org or packages from backports.debian.org.
To use the varnish-cache.org repository and install varnish, do the following:
curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add -
echo "deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0" >> /etc/apt/sources.list
apt-get install varnish
If you want to install the older 2.1 version, replace varnish-3.0 with varnish-2.1 in the command above. If you are on squeeze, replace wheezy with squeeze.
Varnish 4.0 Release Party!
Celebrate with us on April 29th!
Commercial support from Varnish developers is available.