If you haven't already, you can obtain a copy of the latest version of the API using one of the links on Downloads.
To install on a linux system, go to the varnish directory with
$ cd Device-Detection/varnish
Then install to the local directory with
$ ./configure --with-detection=pattern/hash VARNISHSRC=DIR [VMODDIR=DIR]
$ sudo make install
Where `--with-detection [optional]` sets the detection method you would prefer to use. Defaults to Pattern.
`VARNISHSRC [optional]` is set to the source for the correct varnish version when installed in a non standard directory and `VMODDIR` is the directory to install the module to.
Then run the included tests with:
$ make check
How to configure the module