Ram_C
April 16, 2020, 12:25pm
1
Dear Researchers!
I have downloaded and installed ROOT as per instructions given on this site. But I couldnt run root. I get this error:
ramchand@Rams-MBP ROOTcern % root
zsh: command not found: root
Even I have updated path etc but failed to get. Here is my system info:
MacBook Pro 16 inch, i9
OS: macOS Catalina 10.15.4
Thank you very much for help in advance!
Ram
Hi Ram,
Did you call
. $ROOTSYS/bin/thisroot.sh
before typing root
?
Cheers,
Jakob
Ram_C
April 16, 2020, 12:53pm
3
Dear Jakob!
Yes I did first time when I installed. That time it was running but after restart now couldn’t run. I get error:
ramchand@Rams-MBP ROOTcern % . $ROOTSYS/bin/thisroot.sh
.: no such file or directory: /bin/thisroot.sh
I see, ROOTSYS
is of course not yet set. Do you remember in which directory you installed ROOT? You would then call
. {path to your root installation}/bin/thisroot.sh
For instance
. /Applications/root_v6.20.04/bin/thisroot.sh
If you can’t find the installation path, please point me to the exact instructions you followed.
Cheers,
Jakob
Ram_C
April 16, 2020, 1:04pm
5
Dear Jakob!
Yes I am in the same directory. See screenshot. But I don’t know where is executing root file :
Ram_C
April 16, 2020, 1:18pm
6
Dear Jakob!
I found the path and did as per your instructions and I can run ROOT, see
But after logout and login again, I couldn’t run root:
Last login: Thu Apr 16 16:13:25 on ttys000
ramchand@Rams-MacBook-Pro ~ % root
zsh: command not found: root
By default, the environment modifications made by thisroot.sh
are not persistent. You can run
echo ". /Users/ramchand/ROOTcern/bin/thisroot.sh" >> /Users/ramchand/.zshrc
This will add the line to you login script and make root available when you open the Z shell.
Ram_C
April 16, 2020, 6:22pm
8
Thank you very much, it solved my problem…
system
Closed
April 30, 2020, 6:22pm
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.