Skip to content
Snippets Groups Projects
README.md 8.45 KiB

Installation Instructions for for CbmRoot

The easiest way to install CbmRoot is described in Chapter 3 which introduces a scripts for automatic installation of CbmRoot and its dependencies. If you are unsure how to install CbmRoot please follow the instructions in this chapter.

1. Dependencies

1.1 Compiler

To be able to compile CbmRoot, the used compiler must support the C++17 standard. A GCC beginning from version 7 and clang beginning from version 6 should be okay.

1.2 FairSoft

To install, compile, and run CbmRoot, several external programs are required. These are for example Root, Geant3 or Geant4 and many others. Installing these is the first step of the CbmRoot installation. As the individual installation of each of these programs is very time consuming, the FairRoot team provides a software bundle known as FairSoft, which contains all the needed packages, and also provides tools for its automated installation on several platforms. The most up-to-date information regarding the installation of FairSoft, together with a complete list of the contained packages, can be found on the project's GitHub page:

https://github.com/FairRootGroup/FairSoft

This page should be considered the primary source of information regarding FairSoft, which takes precedence over any others (which may in some cases be outdated). Additional information, for instance regarding older versions, can be found on CBM Redmine:

https://redmine.cbm.gsi.de/projects/cbmroot/wiki/Install_External_Packages