-
Notifications
You must be signed in to change notification settings - Fork 7
Installing CERN's ROOT framework
Louis edited this page Feb 4, 2015
·
22 revisions
(Via Elena Graverini's blog)
Prerequisites:
sudo apt-get install build-essential git subversion dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
Optional (recommended) prerequisites:
sudo apt-get install gfortran libssl-dev libpcre3-dev libglu1-mesa-dev libglew-dev libftgl-dev libmysqlclient-dev libfftw3-dev libcfitsio3-dev graphviz-dev libavahi-compat-libdnssd-dev libldap2-dev python-dev libxml2-dev libkrb5-dev libgsl0-dev libqt4-dev
Install font server and fonts for ROOT:
sudo apt-get install xfs xfstt sudo apt-get install t1-xfree86-nonfree ttf-xfree86-nonfree ttf-xfree86-nonfree-syriac xfonts-75dpi xfonts-100dpi
- Find the pro (production) version number on root.cern.ch
- Get the
source.tar.gzfile at http://root.cern.ch/download/root_v*****.source.tar.gz
gzip -dc root_v5.34.14.source.tar.gz | tar -xf - cd root* ./configure --all --with-gsl-incdir="/usr/local/include" --with-gsl-libdir="/usr/local/lib" make -j N
where N is the number of CPU cores on your machine (cat /proc/cpuinfo | grep 'cpu cores')
- For Ubuntu 14.04 run:
sudo mkdir /usr/include/freetype && sudo cp /usr/include/freetype2/freetype.h /usr/include/freetype/freetype.h