Starting ROOT

Windows

Simply open the explorer and start root.exe by double clicking it. If you installed the MSI from the web, root.exe is by default in C:\root\bin

If you don't have ROOT on your hard drive, download and install it. If you already have cygwin's X11 or e.g. the Exceed X11 server you can also use ROOT e.g. on a Linux machine through ssh, see the following Non-Windows part.

Non-Windows

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. We will use the notation "[c]sh" to mean: "csh" for tcsh (or csh), "sh" for all others. E.g. "script.[c]sh" means "script.csh" if you are running tcsh or csh and "script.sh" if not.

  • From your local disk:
    1. cd where root is
    2. source bin/thisroot.[c]sh
    3. cd
  • From lxplus (slower, depending on network traffic):
    1. ssh -Y lxplus
    2. source /afs/cern.ch/sw/lcg/contrib/gcc/4.6/x86_64-slc6/setup.[c]sh
    3. source /afs/cern.ch/sw/lcg/app/releases/ROOT/5.34.09/x86_64-slc6-gcc46-opt/root/bin/thisroot.[c]sh

Note for Mac OSX and Windows users: You need a proper X11 software (e.g. X-Win32, Hummingbird Exceed or Cygwin-X for Windows, X11 server for Mac) 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!