How to build darktable 1.6.x on Ubuntu 12.04

In response to a query on one of my videos, here’s how to build the latest 1.6.x version of darktable on Ubuntu 12.04.

sudo apt-get update
sudo apt-get build-dep darktable
sudo apt-get install git xsltproc
git clone
cd darktable
git tag # find the latest 1.6 release tag
git checkout release-1.6.6 # at the time of writing 1.6.6 is the latest
cd "./build" ; sudo make install