Root6 Installation - Ubuntu
--- version: April 8th, 2019 ---
1) Install required packages
sudo apt-get update
sudo apt-get install git dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
optional packagessudo apt-get install gfortran libssl-dev libpcre3-dev xlibmesa-glu-dev libglew1.5-dev libftgl-dev libmysqlclient-dev libfftw3-dev libcfitsio-dev graphviz-dev libavahi-compat-libdnssd-dev libldap2-dev python-dev libxml2-dev libkrb5-dev libgsl0-dev libqt4-dev
2) Download a binary distribution of root6
Ubuntu 14 gcc4.8 |
141M |
|
Ubuntu 16 gcc5.4 |
143M |
|
Ubuntu 18 gcc7.3 |
152M |
3) Uncompress the .gz file (a “root” folder will be created where you downloaded the file → use a durable place like your home directory)
tar -xvzf root_v6.16.00.Linux-ubuntu[YOUR VERSION].tar.gz
4) source the “thisroot.sh” script and run root
source root/bin/thisroot.sh root You may place the source command directly in your .bashrc file to be executed authomatically at every login
USEFUL LINKS
Root installation (page by G. Sirri, INFN – Bo and Unibo)