Installation on Debian and Ubuntu

Varnish Cache is distributed in the Debian and Ubuntu package repositories.

The versions there might be out of date, but they provide a simple and elegant way of getting started with Varnish Cache.

$ sudo apt-get update
$ sudo apt-get install varnish

Official packages of 5

Starting from Varnish Cache 5.0, we’ve simplified our packaging down to two: the main package and a development package.

The official Varnish Cache repository is now hosted at Packagecloud.io. Instructions for installing the official repository which contains the newest Varnish Cache 5 release are available at:

For manual installation instructions, use the instructions under “Manual” and +select “deb” for Deb-based distributions.

Official packages of 4.1

To use Varnish Cache 4.1 packages from the official varnish-cache.org repos, follow the instructions available at:

For manual installation instructions, use the instructions under “Manual” and +select “deb” for Deb-based distributions.

Archival builds

Multiple older repositories are kept for archival purposes for 2.x, 3.x and 4.0.x. Note that these versions are unsupported:

Cloud images

Varnish Cache is also made available by Varnish Software in the following clouds providers:

Amazon Web Services (AWS EC2)

Here is a list of the currently available images for Ubuntu LTS on Amazon Web Services (AWS) Elastic Compute Cloud (EC2):

Microsoft Azure

Here is a list of the currently available images for Ubuntu LTS on Microsoft’s Azure cloud:

Google Cloud Platform (GCP)

Here is a list of the currently available images for Ubuntu LTS on Google Cloud Platform (GCP):