Starting ROOT

Simple and Windows

Download the CERNVM image of ROOT 6, use VirtualBox to start it up. Configure VirtualBox to use ≥ 2 cores if you have ≥ 2 physical cores. You're all set.

More difficult for netbooks etc: remote lxplus

On Linux and MacOS we need to set up a few shell variables like $PATH. To do that, you need to know the type of shell. Type ps|grep sh at the prompt; it will show the name of the shell. Common ones are bash, zsh, dash and tcsh or csh. If you use tcsh or csh use the extension ".csh" instead of ".sh" for the command 2 and 3 below! E.g. "script.[c]sh" means "script.csh" if you are running tcsh or csh and "script.sh" if not.

  1. ssh -Y yourCERNUserName@lxplus
  2. source /afs/cern.ch/sw/lcg/contrib/gcc/4.8/x86_64-slc6/setup.sh
  3. source /afs/cern.ch/sw/lcg/app/releases/ROOT/6.00.02/x86_64-slc6-gcc48-opt/root/bin/thisroot.sh

Note for Mac OSX users: You need a proper X11 software (e.g. XQuartz) to connect your Windows computer to lxplus and have graphics enabled features

Once this is done, you should be able to start ROOT from anywhere by just typing root (or root -l to avoid the startup window). Let us know if it doesn't work for you!