Installing Geant4
From UCL HEP PBT Wiki
m |
m |
||
Line 1: | Line 1: | ||
For the sake of demonstration I will assume you are installing geant4.10.00.p01 and that you | For the sake of demonstration I will assume you are installing geant4.10.00.p01 and that you | ||
wish to install Geant4 on your '''Desktop'''. The unzipped Geant4 package will have the | wish to install Geant4 on your '''Desktop'''. The unzipped Geant4 package will have the | ||
- | following directory <span style="color: | + | following directory <span style="color:#00ff00"> /home/your_name/Desktop/geant4.10.00.p01 </span> |
In the same directory (i.e: on the '''Desktop''') create a folder called ''''Geant4-build''' | In the same directory (i.e: on the '''Desktop''') create a folder called ''''Geant4-build''' | ||
Line 17: | Line 17: | ||
<pre style="color: #800000; background-color: #dcdcdc"> | <pre style="color: #800000; background-color: #dcdcdc"> | ||
- | cmake -DCMAKE_INSTALL_PREFIX = /home/your_name/Desktop/Geant4-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_INSTALL_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON /home/your_name/Desktop/geant4.10.00.p01 | + | cmake -DCMAKE_INSTALL_PREFIX = /home/your_name/Desktop/Geant4-install -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON |
+ | |||
+ | -DGEANT4_INSTALL_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON /home/your_name/Desktop/geant4.10.00.p01 | ||
</pre> | </pre> | ||