1.Download the source files

from https://root.cern.ch/drupal/content/downloading-root

 

2. use tar command to extract the files.

tar xfz filename

 

3. run  ./configure --all

to check prerequisites files

 

and use  sudo apt-get install xxxx

to install missing files.

 

4. to complie the file

make -j2

 

5. edit your ~/.bashrc file

 

 ------------------------------

 

if you want to uninstall CERN ROOT,

use the following commands.

 

make clean


make uninstall


make distclean

 

xination 發表在 痞客邦 PIXNET 留言(0) 人氣()