...
To obtain and build the package do (just cut and paste the lines below):
wget http://cepa.fnal.gov/dist/stdhep/stdhep-5-06-01.tar.gz
tar xzvf stdhep-5-06-01.tar.gz
cd stdhep-5-06-01
export STDHEP_DIR=${PWD}
unset CRNLIB
gmake clean
gmake
To generate pythia mu+ mu - events at 3 TeV center of mass energy and to control the physics processes by data cards change into the example directory and replace the file pythiaExample.F with the attached file: pythiaExample.F
cd example
wget https://confluence.slac.stanford.edu/download/attachments/112108463/pythiaExample.F
make pythiaExample
...