1.2.1. Environment variables
Assuming you are in a ROOT enabled system, your shell environment probably defines ROOTSYS,
PATH and LD_LIBRARY_PATH variables (unless they are installed in standard location). In order to
use Uranie, assuming it is not installed in standard or ROOT location, the environment
variable LD_LIBRARY_PATH needs to be completed and must contain the sub directory lib of the
Uranie installation.
To achieve this, one can set the environment variable URANIESYS to Uranie’s installation
directory. Then, depending on the shell family used, the variable LD_LIBRARY_PATH can be updated
as follows:
C Shell Family (csh, tcsh, etc.)
##------ Uranie ------
setenv URANIESYS MyUranieInstallDirectory
setenv LD_LIBRARY_PATH ${URANIESYS}/lib:$LD_LIBRARY_PATH
Bourne Shell Family (sh, bash, etc.)
##------ Uranie ------
export URANIESYS=MyUranieInstallDirectory
export LD_LIBRARY_PATH=${URANIESYS}/lib:$LD_LIBRARY_PATH
Uranie may need some external libraries that must be reachable via the LD_LIBRARY_PATH. You
can adapt the former script to take it into account. Uranie installation procedure provides a
configuration script that tries to create a safe environment.