# Updating Root version 5.34 to 6.02

**URL:** <https://root-forum.cern.ch/t/updating-root-version-5-34-to-6-02/18382>\
**Category:** ROOT\
**Created:** [October 25, 2014, 9:30pm UTC](https://root-forum.cern.ch/t/updating-root-version-5-34-to-6-02/18382 "2014-10-25T21:30:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tap786](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@tap786](https://root-forum.cern.ch/u/tap786)\
**Post date:** [October 25, 2014, 9:30pm UTC](https://root-forum.cern.ch/t/updating-root-version-5-34-to-6-02/18382/1 "2014-10-25T21:30:46Z")

</div>

Hello,

I know this is a very naive question but I am having trouble updating my current Root version. I have version 5.34/18 and I would like to update to the latest pro version (6.02.00). Do I have to uninstall and then re-install do update or is there some other way?

Thanks!

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [October 26, 2014, 11:31am UTC](https://root-forum.cern.ch/t/updating-root-version-5-34-to-6-02/18382/2 "2014-10-26T11:31:49Z")

</div>

Hi,

That depends on how you installed ROOT. If you have put all of ROOT into a separate directory (downloaded the binaries or built yourself without --prefix build) then you can simply install them side by side: put ROOT 6.02 into a different directory and use

```auto
source wherever-6.02-is/bin/thisroot.sh
```

to select one or the other.

Axel.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [October 26, 2014, 11:42am UTC](https://root-forum.cern.ch/t/updating-root-version-5-34-to-6-02/18382/3 "2014-10-26T11:42:17Z")

</div>

> [@Missing Canvas](https://root-forum.cern.ch/t/missing-canvas/17664/17):
>
> Honestly speaking, sooner or later, you will learn by hard that the policy of using a “system-provided” ROOT version (e.g. in “/usr/[bin|lib]” or “/usr/local/[bin|lib]”) is a dead end. You will learn that you need something like three different versions of ROOT - just because something that works with a particular ROOT version is not working with another ones, or because some piece of your additional, experiment / analysis specific, software explicitly requires a particular ROOT version. The s…

---

<div class="post-metadata">

**Author:** ![tap786](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/b782af/32.png) [@tap786](https://root-forum.cern.ch/u/tap786)\
**Post date:** [October 26, 2014, 5:22pm UTC](https://root-forum.cern.ch/t/updating-root-version-5-34-to-6-02/18382/4 "2014-10-26T17:22:10Z")

</div>

Thanks for your replies. I installed root using Macports and I have a directory called root. Does this constitute building it myself or downloading the binaries or using --prefix?
