41 ls ~/Downloads 42 cd ../ 43 ls 44 cd 45 ls 46 cd work 47 ls 48 tar zxvf ~/Downloads/geant4.10.03.p01.tar.gz 49 df 50 ls ~/Downloads/ 51 tar zxvf ~/Downloads/cmake 52 tar zxvf ~/Downloads/cmake-3.8.2.tar.gz 53 cd cmake 54 cd cmake-3.8.2/ 55 ls 56 ./bootstrap 57 make 58 sudo make install 59 which cmake 60 ls ~/Downloads 61 cd ../ 62 ls 63 mkdir geant4.10.03.p01-build 64 cmake -DCMAKE_INSTALL_PREFIX=$HOME/geant4/10.03.p01 -DGEANT4_INSTALL_DATA=on -DGEANT4_USE_OPENGL_X11=on -DGEANT4_USE_RAYTRACER_X11=on \ 65 ls 66 cd work 67 ls 68 cd geant4.10.03.p01 69 source /opt/cern/geant4/10.03.p01/bin/geant4.sh 70 cd environments/ 71 cd g4py 72 ls 73 pwd 74 export GEANT4_INSTALL=/opt/cern/geant4/10.03.p01 75 mkdir build 76 cd build 77 which cmake 78 make .. 79 cmake .. 80 sudo yum install boost-devel 81 sudo yum install xerces-c-devel 82 cmake .. 83 make 84 history 85 make install 86 history > g4install.txt