Install LAMPS
You need the file
lamps_offline-17-01-22.tgz (click to download).
Create a directory called lamps_offline and move the downloaded file into it.
The pre-requisites for installation are explained in
Compilers etc
Open a terminal window and follow the steps below:
$ tar zxvf lamps_offline-17-01-22.tgz
$ cd src (change to src directory)
$ make (compiles LAMPS)
Compile with ROOT capability?(y/n)
Type n. (After we have installed ROOT we can compile with ROOT capability.)
The program should compile without any error
$ cd .. (go back to the upper level directory)
$ ./lamps (runs LAMPS)

Re-compiling with ROOT compatibility
If ROOT is installed and source thisroot.sh
is in effect
you can recompile LAMPS with ROOT capability. From a terminal in lamps_offline/src
follow the steps below:
$ make clean (removes all object and executable files)
Compile with ROOT capability?(y/n) y
$ make
Compile with ROOT capability?(y/n) y
Re-compiling after lamps updrage
New versions of lamps_offline will be available quite often. The installation file will be named lamps_offline-dd-mm-yy.tgz. During upgrade, the file src/user.F will be overwritten. If you had made changes to user.F (user programmable module) it is very important that you keep a safe copy of user.F somewhere else. Other files (setup files, list-mode files, bgate files, spec files) will not be affected.
- Delete the entire src directory under lamps_offline
- Copy the downloaded file lamps_offline-dd-mm-yy.tgz to lamps_offline directory
- Execute the tar command as above
- If you had a custom user.F file, restore it in the src directory
- Execute the make clean command in src directory
- Execute the make command