ROOT installationΒΆ

An object oriented framework for large scale data analysis

git repository : http://github.com/root-project/root.git

home site : https://root.cern.ch/

The suggested version is the current latest stable, i.e. 6.24.06. The instructions to install ROOT are reported here: https://root.cern.ch/content/release-62406

For CIT cluster and VirtualBox the following precompiled version can be used:

https://img.shields.io/badge/CentOSCern7gcc4.8-download-blue.svg
cd $HOME_LIBS/ROOT
wget https://root.cern.ch/download/root_v6.24.06.Linux-centos7-x86_64-gcc4.8.tar.gz
tar xf root_v6.24.06.Linux-centos7-x86_64-gcc4.8.tar.gz
mv root root_v6.24.06
#  clone root from git repository
git clone http://github.com/root-project/root.git
# checkout a specific version
git checkout -b v6-24-06 v6-24-06
# create a building directory
mkdir -p root/build_root; cd  root/build_root
# configure root
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=${HOME}/SOFT/ROOT/root_v6-24-06;
# build
cmake --build . --verbose --parallel ${CPU_COUNT}
# install
cmake --build . --verbose --parallel ${CPU_COUNT} --target install

Note

set ROOT_VERSION environment variable in watenv script.