1.2.  Software Required to Build Geant4

The following minimal set of software must be present to build Geant4:

On Linux, it is strongly recommended that you use CMake as provided through the package management system of your distribution, unless this does not meet the minimum version requirement of CMake 2.6.4. In that case, we recommend you install it using the Linux binary installer for the latest version of CMake, available with instructions from the Kitware download site.

On Mac and Windows, CMake is not installed by default, so we recommend that you install it using the Darwin64 dmg (Mac) or Win32 exe (Windows) installerpackages supplied by the Kitware download site.

On Linux and Mac, it is strongly recommended to use the g++ compiler supplied by the package management system of your distribution (Linux), or supplied with Xcode (Mac).

1.2.1.  Changes to Usage of the CLHEP Software

As of version 9.5.0, a minimal version of the CLHEP library is supplied with the Geant4 sources. Geant4 will build and use this internal version of the CLHEP library by default, and so having an external install of CLHEP is no longer a prerequisite.

However, Geant4 can still be configured to use an existing install of CLHEP if required by your use case. This configuration is done by passing extra options to CMake, and if your require this feature you should consult Section 2.3.