export ROOTSYS=Add ROOTSYS/bin to your PATH:/root (in bash or ksh) setenv ROOTSYS /root (in csh or tcsh)
export PATH=$PATH:$ROOTSYS/bin (in bash or ksh) set path=($path $ROOTSYS/bin) (in csh or tcsh)
On HP-UX, before executing the interactive module, you must set the library path:
export SHLIB_PATH=$SHLIB_PATH:$ROOTSYS/lib
(in bash or ksh)
setenv SHLIB_PATH ${SHLIB_PATH}:${ROOTSYS}/lib (in csh or tcsh)
On AIX, before executing the interactive module, you must set the library path:
[ -z "$LIBPATH" ] && export LIBPATH=/lib:/usr/lib
export LIBPATH=$LIBPATH:$ROOTSYS/lib
or the equivalent setenv.
On Linux, Solaris, Alpha OSF and SGI, before executing the interactive module, you must set the library path:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
or the equivalent setenv.
On Solaris, in case your LD_LIBRARY_PATH is empty, you should set it like this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib:/usr/dt/lib
where $ROOTSYS is an environment variable pointing to the ROOT directory. For example, if you use the HPUX-10 AFS version (see below), you should set:
To run the program just type: root.