Versions Compared

Key

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

...

  1. Create a working directory for CLHEP and go into it.
    No Format
    mkdir clhep
    cd clhep
    
  2. Download the CLHEP tarball.
    No Format
    wget http://cern.ch/clhep/clhep-1.9.2.0.tgz
    
  3. Unzip to your work directory.
    No Format
    tar zxvf clhep-1.9.2.0.tgz
    
  4. Change to CLHEP directory.
    No Format
    cd 1.9.2.0/CLHEP
    
  5. Run configure. (Takes a long time!)
    No Format
    ./configure --prefix=`cd ../..; pwd` --disable-shared
    
  6. Build the library and install it.
    No Format
    
    make
    make install
    

Geant4

  1. Return to the work dir.
    No Format
    cd $sim_work
    
  2. Create a Geant4 work dir and go into it.
    No Format
    mkdir geant4
    cd geant4
    
  3. Download the Geant4 tarball.
    No Format
    wget http://geant4.cern.ch/geant4/source/source/geant4.7.0.p01.tar.gz
    
  4. Unzip it.
    No Format
    tar zxvf geant4.7.0.p01.tar.gz
    

...