The following commands will install CLHEP with static libraries into the /usr/local directory.

tar zxvf clhep-
./configure --disable-shared --prefix=/usr/local
make install

The argument to prefix will be the CLHEP_BASE_DIR that should be set in the environment (e.g. for Geant4).

Change the prefix argument if you want a different base directory.

Once installed, the CLHEP configuration is accessible with the clhep-config command.

  • No labels