Building Installing Geant4 Ubuntu 14.04
Building Installing Geant4 Ubuntu 14.04
04)
By Arnulfo Moiss Maciel Hernndez
(if error qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory execute in
Terminal: sudo apt-get install qt5-default )
wget http://www.eu.apache.org/dist//xerces/c/3/sources/xerces-c-3.1.2.tar.gz
tar xf xerces-c-3.1.2.tar.gz
cd xerces-c-3.1.2
./configure
make
sudo make install
/path/to/geant4.XX.XX
Building and Installing Geant4 on Linux (Ubuntu 14.04)
By Arnulfo Moiss Maciel Hernndez
geant4-install
geant4-build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/geant4.XX.XX/geant4-install
-DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_GDML=ON -DGEANT4_USE_QT=ON
-DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_SYSTEM_EXPAT=OFF /path/to/geant4.XX.XX
if [ -f /yourpath/g4install/bin/geant4.sh ]; then
. /yourpatht/g4install/bin/geant4.sh
fi
Setting Datasets
After you have installed Geant4. To do this,
download the following files:
(or the latest versions from http://geant4.web.cern.ch/geant4/support/download.shtml )
http://geant4.cern.ch/support/source/G4NDL.4.5.tar.gz
http://geant4.cern.ch/support/source/G4EMLOW.6.48.tar.gz
http://geant4.cern.ch/support/source/G4PhotonEvaporation.3.2.tar.gz
http://geant4.cern.ch/support/source/G4RadioactiveDecay.4.3.tar.gz
http://geant4.cern.ch/support/source/G4NEUTRONXS.1.4.tar.gz
http://geant4.cern.ch/support/source/G4PII.1.3.tar.gz
http://geant4.cern.ch/support/source/RealSurface.1.0.tar.gz
http://geant4.cern.ch/support/source/G4SAIDDATA.1.1.tar.gz
http://geant4.cern.ch/support/source/G4ABLA.3.0.tar.gz
http://geant4.cern.ch/support/source/G4ENSDFSTATE.1.2.tar.gz
/path/to/geant4.XX.XX/geant4-install/share/Geant4-10.2.0/data