Installing FairRoot
- Install the external packages in a directory of your choice
- set the variable SIMPATH to your external packages directory
- Get FairRoot source code from GitHub
> git clone https://github.com/FairRootGroup/FairRoot.git
- Create a build directory (build in source is not allowd)
> mkdir build
> cd build
- Call cmake to create your make files or project files for Xcode. Eclipse, KDeveloper, etc.
>cmake -DCMAKE_INSTALL_PREFIX="Specify an installation directory" "Path to FairRoot source"
- In case of creating standard makefiles, call make
> make (make install)
- FairRoot is now compiled and installed you can go to the example directory and run the tutorials