AliRoot installation instructions for Ubuntu

There are many people who have been doing this longer than me, but this is what worked for me and there have been a few updates to various components recently.  I got many useful Ubuntu tips from this page.  Please feel free to email me with questions, but I don't promise to be able to answer them.  These instructions are derived substantially from instructions for installation of AliRoot on SL by Ken Read.  Things which are not actually needed for a base working system are denoted with a *.  I am assuming that you start with a valid grid certificate and that you'll be using bash.

System: 64 bit running Ubuntu 12.04, AliRoot 5.04.03.AN, gcc 4.6.3
Notes on what needs to be done for a mac in green - these notes are not complete.


Differences between Ubuntu and SL5
Differences which are definitely related to Ubuntu
Note I was not able to get alien-token-init to work in csh.  I did not spend a lot of time debugging this.

Time protocol issues
You won't be able to connect to AliEN unless you have your time server working.  To set the time server on Ubuntu, go to System->Administration->Time and Date.  Click to make changes and enter your password.  Select "Keep synchronized with internet servers."  I have found ntp.cesnet.cz works quite well.