I followed the <b>GATE 5.0.0_p01 install guide for Ubuntu <br></b>but stuck<b> </b>in<b> </b>GATE installation to define the environment variables in env_gate.sh. Based on the instruction we need to:<br><br>8) Set environment variables; copy the following text into a file in the Gate5 directory called set_env.sh, and replace USERNAME with your user name:<br>
<br><b># Open-GATE:<br>export OPENGATE_HOME=/home/USERNAME/Gate5<br><br>export      GATEHOME=${OPENGATE_HOME}/gate_v5.0.0_p01<br>export     G4VERSION="9.2"<br>export     G4INSTALL=${OPENGATE_HOME}/geant4.9.2.p02<br>
export    ECAT7_HOME=${OPENGATE_HOME}/ecat_7<br>export      LMF_HOME=${OPENGATE_HOME}/lmf_3.0<br>export       ROOTSYS=${OPENGATE_HOME}/root<br><br>export          PATH=${ROOTSYS}/bin:${GATEHOME}/bin/Linux-g++:${GATEHOME}/tmp/Linux-g++/Gate:${PATH}<br>
<br># VRML viewer :<br>#export  G4VRMLFILE_VIEWER=/opt/vrmlview/vrmlview<br><br>if [ -n "$LD_LIBRARY_PATH" ] ; then<br>  export LD_LIBRARY_PATH=${ROOTSYS}/lib:${OPENGATE_HOME}/clhep_v2.0.4.2/lib:${OPENGATE_HOME}/gate_v5.0.0_p01/tmp/Linux-g++/Gate:${LD_LIBRARY_PATH}<br>
else<br>  export LD_LIBRARY_PATH=${ROOTSYS}/lib:${OPENGATE_HOME}/clhep_v2.0.3.2/lib<br>fi<br><br>source ${GATEHOME}/env_gate.sh</b><br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>there is no set_env.sh file, so I copy and paste on the env_gate.sh at the top of this file<br>
<br><b># Open-GATE:<br>export OPENGATE_HOME=/home/siti/Gate5<br><br>export      GATEHOME=${OPENGATE_HOME}/gate_v5.0.0_p01<br>export     G4VERSION="9.4"<br>export     G4INSTALL=${OPENGATE_HOME}/geant4.9.2.p04<br>
export    ECAT7_HOME=${OPENGATE_HOME}/ecat_7<br>export      LMF_HOME=${OPENGATE_HOME}/lmf_v3.0<br>export       ROOTSYS=${OPENGATE_HOME}/root<br><br>export          PATH=${ROOTSYS}/bin:${GATEHOME}/bin/Linux-g++:${GATEHOME}/tmp/Linux-g++/Gate:${PATH}<br>
<br># VRML viewer :<br>#export  G4VRMLFILE_VIEWER=/opt/vrmlview/vrmlview<br><br>if [ -n "$LD_LIBRARY_PATH" ] ; then<br>  export LD_LIBRARY_PATH=${ROOTSYS}/lib:${OPENGATE_HOME}/clhep_v2.0.4.2/lib:${OPENGATE_HOME}/gate_v5.0.0_p01/tmp/Linux-g++/Gate:${LD_LIBRARY_PATH}<br>
else<br>  export LD_LIBRARY_PATH=${ROOTSYS}/lib:${OPENGATE_HOME}/clhep_v2.0.3.2/lib<br>fi<br><br>source ${GATEHOME}/env_gate.sh<br>########### Comments</b><br><br>&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&7<br>
<br>However when I type source env_gate.sh, there is nothing happens. The cursor just blink. Am I doing the right thing? <br><br>Thanks<br><br>