Hi,
I installed a new version of ROOT a few days ago, it run and everything was fine.
But today I realise that when I open the terminal I get this message:
-bash: /Applications/root_v6.06.00/bin/thisroot.sh: No such file or directory
“root_v6.06.00” is the directory of the old version that I deleted.
If I do the setup for the new version I get:
works and I can run ROOT.
But if I close the terminal window and I open it again I'm back at the starting point:
[code]-bash: /Applications/root_v6.06.00/bin/thisroot.sh: No such file or directory[/code]
works and I can run ROOT.
But if I close the terminal window and I open it again I’m back at the starting point:
Air-di-Mattia:~ mattia$ ~/.profile
-bash: /Users/mattia/.profile: No such file or directory
Air-di-Mattia:~ mattia$ ~/.bash_profile
-bash: /Users/mattia/.bash_profile: Permission denied
Air-di-Mattia:~ mattia$ ~/.bash_login
-bash: /Users/mattia/.bash_login: No such file or directory
Air-di-Mattia:~ mattia$ ~/.bashrc
-bash: /Users/mattia/.bashrc: No such file or directory
Air-di-Mattia:~ mattia$
When you start a terminal window with the “bash” shell the file ~/.bashrc is executed.
In that file you can put the commands you wish.
You should put one of the command Wile suggested (sourcing thisroot.sh)