-
Notifications
You must be signed in to change notification settings - Fork 46
Prerequisites
If you plan to use the framework starting from existing data in DataFrame format, please skip the installation of ROOT and install only python 3.6.6.
Get from the official website https://www.python.org/downloads/mac-osx/ the version Python 3.6.6. Follow the instructions and install it. The predefined folder should be /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.
This assumes that you are using the python version you just installed placed in /Library/Frameworks/Python.framework/Versions/3.6/bin/python3. If you want to use another version change the path accordingly.
git clone http://github.com/root-project/root.git
cd root
git checkout -b v6-14-02 v6-14-02
cd ..
mkdir build
sudo chown -R $(whoami):$(id -g -n $(whoami)) build
cd build
cmake -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3 ../root/
make -j<num_core_to_use>
source bin/thisroot.sh
This assumes you have the build in your home folder. If another choice was made change it accordingly
source build/bin/thisroot.sh
sudo apt-get update
sudo apt-get install git dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
You might need also:
sudo add-apt-repository universe
sudo apt-get install build-essential
sudo apt-get install python3.6 python3-tk python3-pip
This assumes that you are using the python version you just installed placed in /usr/bin/python3. If you want to use another version change the path accordingly.
git clone http://github.com/root-project/root.git
cd root
git checkout -b v6-14-02 v6-14-02
cd ..
mkdir build
sudo chown -R $(whoami):$(id -g -n $(whoami)) build
cd build
cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 ../root/
make -j<num_core_to_use>
source build/bin/thisroot.sh