# Installation problems (Ubuntu 14.04)

**URL:** <https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550>\
**Category:** ROOT\
**Created:** [November 29, 2014, 11:52am UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550 "2014-11-29T11:52:31Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![M.Bona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@M.Bona](https://root-forum.cern.ch/u/M.Bona)\
**Post date:** [November 29, 2014, 9:26pm UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550/21 "2014-11-29T21:26:02Z")

</div>

Now the root5.34 directory is gone, and I do have the empty list! I still have the root directory, but I think it’s ok because it simply contains files extracted from root.\*\*.tar. Should the past versions of root on my machine have been deleted now? What shall I do to install root in the proper way ?

---

<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:** [November 29, 2014, 9:29pm UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550/22 "2014-11-29T21:29:03Z")

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

> [@Trouble Installing](https://root-forum.cern.ch/t/trouble-installing/18046/11):
>
> The easiest way would be to build ROOT “in-place” (in case anything goes wrong you’ll have additional “configure.out.txt” and “make.out.txt” files to look into): rm -rf v5-34-00-patches git clone -b v5-34-00-patches http://root.cern.ch/git/root.git v5-34-00-patches cd v5-34-00-patches unset ROOTSYS ./configure --enable-soversion --all \> configure.out.txt 2\>&1 make \> make.out.txt 2\>&1 On some newer operating systems, you may need to add “--enable-gsl-shared --disable-fitsio” into the “co…

---

<div class="post-metadata">

**Author:** ![M.Bona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@M.Bona](https://root-forum.cern.ch/u/M.Bona)\
**Post date:** [November 29, 2014, 9:34pm UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550/23 "2014-11-29T21:34:11Z")

</div>

Tomorrow I’ll try to install root again, following what has been said in those topics and what’s said in the guide.  
Actually I still have the root directroy, should I delete it? (In this case, rmdir root it’s unsuccessful. What should I do?)  
My last question is: which installation method should be preferred?

---

<div class="post-metadata">

**Author:** ![M.Bona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@M.Bona](https://root-forum.cern.ch/u/M.Bona)\
**Post date:** [November 30, 2014, 3:37pm UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550/24 "2014-11-30T15:37:20Z")

</div>

Following those instructions I was able to install root successfully. Now, when I try to compile using `root-config --cflags --glibs` I don’t get any error.  
Though there is a problem: when I try to run root (typing root) I get:

`The program 'root' is currently not installed. You can install it by typing:
sudo apt-get install root-system-bin
` unless I go in v5-34-00-patches directory and do . bin/thisroot.sh; after this I can run root without any problem. How can I make permanent this installation?

---

<div class="post-metadata">

**Author:** ![M.Bona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@M.Bona](https://root-forum.cern.ch/u/M.Bona)\
**Post date:** [November 30, 2014, 9:46pm UTC](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550/25 "2014-11-30T21:46:53Z")

</div>

Completely solved!  
I had to follow these instructions to config and make root:

[quote=“Wile E. Coyote”]

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

[https://root-forum.cern.ch/t/trouble-installing/18046/11[/quote]](https://root-forum.cern.ch/t/trouble-installing/18046/11%5B/quote%5D)  
Then, to avoid the .bin/thisroot.sh problem after any reboot (or new session) I followed what has been said here: [ROOT uninstalls on reboot - #6 by Wile\_E\_Coyote](https://root-forum.cern.ch/t/root-uninstalls-on-reboot/17952/6)  
(It was sufficient to add `source /(this first slash is foundamental)FULL/PATH/TO/YOUR/ROOT/bin/thisroot.sh` to my .bashrc)

Thank you Wile E. Coyote, your help was really appreciated!

[Previous page](https://root-forum.cern.ch/t/installation-problems-ubuntu-14-04/18550.md?page=1)
