# Intall root 5 and root 6

**URL:** <https://root-forum.cern.ch/t/intall-root-5-and-root-6/35208>\
**Category:** ROOT\
**Created:** [July 16, 2019, 6:35am UTC](https://root-forum.cern.ch/t/intall-root-5-and-root-6/35208 "2019-07-16T06:35:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meenakshi\_Sharma](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/meenakshi_sharma/32/19191_2.png) [@Meenakshi\_Sharma](https://root-forum.cern.ch/u/Meenakshi_Sharma)\
**Post date:** [July 16, 2019, 6:35am UTC](https://root-forum.cern.ch/t/intall-root-5-and-root-6/35208/1 "2019-07-16T06:35:02Z")

</div>

Can we install both root versions on linux and choose one of them while running a code? Because some codes run smoothly on one version and give errors on another version.

Thanks

---

<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:** [July 16, 2019, 6:37am UTC](https://root-forum.cern.ch/t/intall-root-5-and-root-6/35208/2 "2019-07-16T06:37:35Z")

</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…

BTW. If you can run the CVMFS client on your machine then you possibly do not need to do anything special, just use the binaries provided in: `/cvmfs/sft.cern.ch/lcg/app/releases/ROOT/`

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [July 30, 2019, 6:42am UTC](https://root-forum.cern.ch/t/intall-root-5-and-root-6/35208/3 "2019-07-30T06:42:30Z")

</div>

Closed on July 30, 2019, 6:42am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
