aptitude install libcurl4-gnutls-dev ruby cmake apache2-prefork-dev ln -s /usr/bin/apxs2 /usr/sbin/apxs cd /opt or /usr/local YMMV git clone git://github.com/lloyd/yajl cd yajl/ aptitude install ruby cmake ./configure && make install cd /opt or /usr/local YMMV git clone https://github.com/mozilla/mod_browserid cd mod_browserid/ make