Root installation


I have installed root and have been using it without issue for a while. However, I have run the . bin/
file every time I want to run root, and I am trying to edit my bash_profile so I can just type root whenever I launch a new shell. I have tried adding the following lines to my bash_profile

export ROOTSYS=/Users/nickmurphy/Documents/root
export PATH=$ROOTSYS/bin:$PATH

However, when I type “root” at a command prompt, I just get -bash: ./root.exe: No such file or directory, even though if I navigate into my root/bin folder and type “root”, root opens. Any ideas as to what might be going on?

Thanks for the help!

In your “${HOME}/.bashrc” file try to add: if [ -f /Users/nickmurphy/Documents/root/bin/ ] ; then . /Users/nickmurphy/Documents/root/bin/ fi

Thanks! That did the trick