New Root User guide to install

Dear all
I am new to root , i am medical physicist , i want to use root for radiotherphy data analysis. Please guide me ,how can i install root in Linux ubtan18.04. And pre requirement to install this software.
Thank you very much in advance.

Go here:
https://root.cern.ch/downloading-root
and click on the Pro release (currently 6.16/00), which takes you to the download page of that version. For this ubuntu you don’t need to compile root, so just get the binary version (called Ubuntu 18 gcc7.3).
You won’t need to compile anything, but it’s safer to also install the dependencies. Go to
https://root.cern.ch/build-prerequisites#ubuntu
and run (inside a terminal window) the “required packages” command they give under the list, i.e.

sudo apt-get install git dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev

You can also install the optional packages if you want.
After that, unpack the root file you downloaded. E.g. (always in a terminal):

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

This creates a folder called root in whatever folder you did this. You can rename and/or move this folder; say you call it root616 (instead of just root) and put it in your home, so you would have /home/myname/root616
Then, in your home folder edit your .bashrc file, adding this line at the bottom:

  source /home/myname/root616/bin/thisroot.sh

(open a terminal and type pico .bashrc to edit the file; save and exit with ctrl+x).
Then, every time you open a terminal window you can just type root and enter to run it from any folder.

Thank you very i will try , if any problem plz… help me , i will download prereqution software

A more up to date list of packages you should install can be found here, in our Dockerfile for building ROOT on ubuntu. We will eventually update the install instructions on the website to match the Dockerfiles. Cheers,