Installing privacyIDEA on Ubuntu 14.04LTS is easy as pie.
Watch this video on YouTube.
In short this is:
add-apt-repository ppa:privacyidea/privacyidea
apt-get update
apt-get install privacyidea-apache2
You can also take a look at the online documentation.