The following commands will install CLHEP 1.9.3.1 with static libraries into the /usr/local directory.
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 with the clhep-config command.