GridKa School 2010

ROOT/PROOF instructions

 
For the ROOT/PROOF tutorial, you can either install ROOT to your laptop (under linux) *or* connect from your laptop to one of the virtual machines provided by the organizers. If you have only a windows machine, you need to have an SSH client and a X windows server installed.
If you decide to install ROOT to your laptop, choose version 5.26/00.
Instructions:
  1. Download
    Please download ROOT 5.26/00 from http://root.cern.ch/drupal/content/production-version-526
    You can choose between several precompiled versions for different platforms and flavors of linux or the source code. After download extract the archive.
  2. Setting up the enviroment:
    Please export the environment variable ROOTSYS to the directory to which you have extracted the files
    sh family:
    export ROOTSYS=
    csh family:
    setenv ROOTSYS
    Add $ROOTSYS/bin to PATH and $ROOTSYS/lib to LD_LIBRARY_PATH:
    sh family:
    export PATH=$ROOTSYS/bin:$PATH
    export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
    export DYLD_LIBRARY_PATH=$ROOTSYS/lib:$DYLD_LIBRARY_PATH (MacOS X only)
    csh family:
    setenv PATH ${ROOTSYS}/bin:${PATH}
    setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${LD_LIBRARY_PATH}
    setenv DYLD_LIBRARY_PATH ${ROOTSYS}/lib:${DYLD_LIBRARY_PATH} (MacOS X only)
  3. Compile ROOT
    If you have chosen the precompiled version, please continue to read at "Test ROOT"
    Execute:
    cd $ROOTSYS
    ./configure
    make
  4. Test ROOT
    Type "root" to start. You should get a welcome screen that says version 5.26/00 and the ROOT prompt. You can quit with ".q". If you like to get familiar with the system, try some of the tutorials:
    http://root.cern.ch/root/Tutorials.html
 
More information about the installation can be found at http://root.cern.ch/root/Install.html