Dear all,
I am having trouble with setting correctly the environment variables to run ROOT. I have just installed as operating system Ubuntu 12.04 32bits.
After building successfully ROOT, I followed the documentation to set the environment variables, that is to say, on terminal
export ROOTSYS=/root
export PATH=$PATH:$ROOTSYS/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
Then, after typing on terminal, placed on $HOME/root, “. bin/thisroot.sh”, ROOT was running. Eveything ok until here according to guides.
The problem arises when I reboot the computer. Then, when I type on terminal “root”, root does not run. I tried to solve this by writting the three “export” lines above on “.bashrc” but nothing gets better. I realised that I have to type on terminal every time “. bin/thisroot.sh”, when I’m on $HOME/root, and then ROOT runs. I think this is not normal.
Somebody knows how to set the environment variables for ROOT in a definite way? So, I just type “root” on any terminal and ROOT runs.
Thanks in advance&sorry if this question is stupid…