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 packages
sudo 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

root_v6.16.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz

141M

Ubuntu 16 gcc5.4

root_v6.16.00.Linux-ubuntu16-x86_64-gcc5.4.tar.gz

143M

Ubuntu 18 gcc7.3

root_v6.16.00.Linux-ubuntu18-x86_64-gcc7.3.tar.gz

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

Downloading root

Root reference documentation

Root installation (page by G. Sirri, INFN – Bo and Unibo)