How to install root 5.34.36 and anaroot 4.5.15 in Fedora >=24?

To install root with Qt and roofit

Install Qt devel

sudo dnf install qt-devel

... and prerequisites at https://root.cern.ch/build-prerequisites

Download root 5.34.36 at

https://root.cern.ch/content/release-53436

Unpack and run following:

./configure linuxx8664gcc --with-qt-incdir=/usr/include --enable-roofit

make

Add following line to ~/.bashrc 

source path_to_root/bin/thisroot.sh

To install anaroot with eurica pack (v4.5.15)

Download anaroot at

https://ribf.riken.jp/RIBFDAQ/index.php?Tools%2FAnalysis%2FANAROOT%2FInstallation

Install prerequisites and run following command

./autogen.sh --prefix=$PWD

make install

If you encounter an error of TArtRawEventObject, edit the file:

sources/Core/src/TArtRawEventObject.cc

and delete/comment the line with error

 

Done!