My Links

Programming Tips

Root

Setting up root

To use root you need to add the environment variable $ROOTSYS and append locations to $PATH and $LD_LIBRARY_PATH. A good way to do this is add the following to your ~/.bash_profile:

export ROOTSYS=/usr/local/root/v5.22.00/slc5.gcc3.4/root
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTSYS}/lib
export PATH=${PATH}:${ROOTSYS}/bin

Where /usr/local/root/v5.22.00/slc5.gcc3.4/root is the path of the current stable build of root (ie. check this is correct!)

For example; here are my .bashrc and .bash_profile.

UserForm
First Name Timothy
Last Name Brooks
Email timothy.brooks.2009@live.rhul.ac.uk
Telephone 07716159534
Location Egham
Country UK

This topic: PP/Public > TWikiUsers > TimothyBrooks
Topic revision: r3 - 19 Nov 2009 - TimothyBrooks
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback