MyTechValley - How to install - CERN ROOT
How to install - CERN ROOT In Ubuntu 12.04/14.04
You must have internet connection during root installation. We are using git to get ROOT source. You can also download and extract root form root website.
Go to the terminal and follow step 1 to 41. From steps 1 to 32 are prerequisite of ROOT.
  • Step:1sudo apt-get -y install build-essential
  • Step:2sudo apt-get -y install git
  • Step:3sudo apt-get -y install subversion
  • Step:4sudo apt-get -y install binutils
  • Step:5sudo apt-get -y install libx11-dev
  • Step:6sudo apt-get -y install libxpm-dev
  • Step:7sudo apt-get -y install libxft-dev
  • Step:8sudo apt-get -y install libxext-dev
  • Step:9sudo apt-get -y install gfortran
  • Step:10sudo apt-get -y install libssl-dev
  • Step:11sudo apt-get -y install libpcre3-dev
  • Step:12sudo apt-get -y install libglu1-mesa-dev
  • Step:13sudo apt-get -y install libglew-dev
  • Step:14sudo apt-get -y install libftgl-dev
  • Step:15sudo apt-get -y install libmysqlclient-dev
  • Step:16sudo apt-get -y install libfftw3-dev
  • Step:17sudo apt-get -y install libcfitsio3-dev
  • Step:18sudo apt-get -y install graphviz-dev
  • Step:19sudo apt-get -y install libavahi-compat-libdnssd-dev
  • Step:20sudo apt-get -y install libldap2-dev
  • Step:21 sudo apt-get -y install python-dev
  • Step:22sudo apt-get -y install libxml2-dev
  • Step:23sudo apt-get -y install libkrb5-dev
  • Step:24sudo apt-get -y install libgsl0-dev
  • Step:25sudo apt-get -y install libqt4-dev
  • Step:26sudo apt-get -y install xfstt
  • Step:27sudo apt-get -y install t1-xfree86-nonfree
  • Step:28sudo apt-get -y install ttf-xfree86-nonfree
  • Step:29sudo apt-get -y install ttf-xfree86-nonfree-syriac
  • Step:30sudo apt-get -y install xfonts-75dpi
  • Step:31 sudo apt-get -y install xfonts-100dpi
  • Step:32sudo service xfstt start
  • Step:33cd ~
  • Step:34git clone http://root.cern.ch/git/root.git
  • Step:35cd root && git tag -l <--This command will print all version on git, you can select any version from the list in the next command i.e. in step:36
  • Step:36git checkout -b v5-34-36 v5-34-36
  • Step:37 ./configure --all
  • Step:38 make
  • Step:39mkdir /usr/include/freetype && cp /usr/include/freetype2/freetype.h /usr/include/freetype/freetype.h
  • Step:40echo "source $HOME/root/bin/thisroot.sh" >> $HOME/.bashrc
  • Step:41source $HOME/.bashrc
  • root installation complete!root

If you are facing any problem in installing ROOT then let me know; I will be happy to assist you. My email id:info@mytechvalley.com

© All Rights reserved. Design by mytechvalley.com