# New Root User guide to install

**URL:** <https://root-forum.cern.ch/t/new-root-user-guide-to-install/33697>\
**Category:** Newbie\
**Created:** [April 21, 2019, 2:46am UTC](https://root-forum.cern.ch/t/new-root-user-guide-to-install/33697 "2019-04-21T02:46:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![1231](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/1/e19adc/32.png) [@1231](https://root-forum.cern.ch/u/1231)\
**Post date:** [April 21, 2019, 2:46am UTC](https://root-forum.cern.ch/t/new-root-user-guide-to-install/33697/1 "2019-04-21T02:46:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [April 21, 2019, 5:16am UTC](https://root-forum.cern.ch/t/new-root-user-guide-to-install/33697/2 "2019-04-21T05:16:44Z")

</div>

Go here:  
[https://root.cern.ch/downloading-root](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](https://root.cern.ch/build-prerequisites#ubuntu)  
and run (inside a terminal window) the “required packages” command they give under the list, i.e.

```auto
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):

```auto
 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:

```auto
  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.

---

<div class="post-metadata">

**Author:** ![1231](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/1/e19adc/32.png) [@1231](https://root-forum.cern.ch/u/1231)\
**Post date:** [April 21, 2019, 5:23am UTC](https://root-forum.cern.ch/t/new-root-user-guide-to-install/33697/3 "2019-04-21T05:23:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [May 2, 2019, 9:06am UTC](https://root-forum.cern.ch/t/new-root-user-guide-to-install/33697/4 "2019-05-02T09:06:20Z")

</div>

A more up to date list of packages you should install can be found [here](https://github.com/root-project/root-docker/blob/master/ubuntu/packages), in our Dockerfile for building ROOT on ubuntu. We will eventually update the install instructions on the website to match the Dockerfiles. Cheers,
