Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
wget http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-1.9.3.1.tgz
tar zxvf clhep-1.9.3.1.tgz
cd 1.9.3.1/CLHEP
./configure --disable-shared --prefix=/usr/local
make
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 using with the clhep-config command.