# Root without C++ compiler installed?

**URL:** <https://root-forum.cern.ch/t/root-without-c-compiler-installed/51055>\
**Category:** ROOT\
**Created:** [August 3, 2022, 7:58pm UTC](https://root-forum.cern.ch/t/root-without-c-compiler-installed/51055 "2022-08-03T19:58:07Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [August 5, 2022, 6:51am UTC](https://root-forum.cern.ch/t/root-without-c-compiler-installed/51055/12 "2022-08-05T06:51:27Z")

</div>

I always install ROOT 5 using the [`ROOTSYS` based method described in this old post](https://root-forum.cern.ch/t/installing-root-from-source/13647/1).  
If you prefer to use the “`--prefix`” method (i.e., the official “[Fixed location installation](https://root.cern.ch/build-root-old-method)” method), do always remember to add an appropriate “`--etcdir`” (no need to do it for ROOT 6) and do remember to “`unset ROOTSYS`” before running `configure` and `make`.

> [@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…

---

_[View the full topic](https://root-forum.cern.ch/t/root-without-c-compiler-installed/51055)._
