The CERN laboratory in Europe has a graphical analysis package called ROOT. It is written in C++, which allows the user to analyze data in an object-oriented way.
Build instructions
Getting the source code
Setting up the installation directory
In general, the source code will be in a general location like /usr/local/bin/ so that all users will have access to it.
Compiling the software
The instructions from CERN give you many options as to how to build the software. It should be done as a fixed location install.
Check that the dependency software is installed. If there is anything missing, install it. With CentOS, you can use yum install {package name}.
You can check to see what prerequisites packages are required here: https://root.cern.ch/build-prerequisites