Set-up environment - Geant4 need properly set environment variables: G4SYSTEM – operating system (e.g. Linux-g++) G4INSTALL – base directory of Geant4 G4WORKDIR – where you run your application CLHEP_BASE_DIR – location of the compiled CLHEP libraries (optional) Variables for physics processes: G4ABLADATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4ABLA3.0" G4ENSDFSTATEDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4ENSDFSTATE2.1" G4LEDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4EMLOW6.50" G4LEVELGAMMADATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/PhotonEvaporation4.3.2" G4NEUTRONHPDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4NDL4.5" G4NEUTRONXSDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4NEUTRONXS1.4" G4PIIDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4PII1.3" G4RADIOACTIVEDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/RadioactiveDecay5.1.1" G4REALSURFACEDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/RealSurface1.0" G4SAIDXSDATA="/usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/data/G4SAIDDATA1.1" LD_LIBRARY_PATH="...:/usr/local/geant4/geant4.10.04‐install/lib64" PATH="...:/usr/local/geant4/geant4.10.04‐install/bin" Additional variables for GUI, Visualization, Analysis - To set them up properly in your shell, run the script in Geant4 installation directory: source /usr/local/geant4/geant4.10.04‐install/share/Geant4‐10.4.0/geant4make/geant4make.sh - You can put this line your ~/.bashrc file (or similar for other shells)