Geant4 on MacOS
Installation of Binary Packages
Geant4
There are two versions of geant4 available: <geant4_name>=geant4,geant49, corresponding to version 11.X and 9.X. They can coexist if needed. If you just need one version, do
$ sudo apt-get update
$ sudo apt-get install <geant4_name>
$ sudo apt-get clean
$ sudo ln -s <version> /opt/g4/pro
By default GEANT4 will be installed under /opt/g4. Use
/opt/g4/pro/bin/geant4.sh to setup environmental variables necessary to run
GEANT4. /opt/g4/pro/bin/geant4-config will also come in handy
Dawn (A Visualization Tool for GEANT4)
$ sudo apt-get update
$ sudo apt-get install dawn
$ sudo apt-get clean
Dawncut (A Tool to Make a Cut View for GEANT4 Geometrical Objects)
$ sudo apt-get update
$ sudo apt-get install dawncut
$ sudo apt-get clean
David (A Geometry Debugger for GEANT4)
$ sudo apt-get update
$ sudo apt-get install david
$ sudo apt-get clean
Back
to Keisuke Fujii's HEP on X Page
keisuke.fujii@kek.jp January 11, 2025