Software/ROOT

From PBTWiki

(Difference between revisions)
Jump to: navigation, search
(Added instructions for local installation of ROOT on MacOS)
(Local Installation on MacOS)
Line 4: Line 4:
* Install Xcode from the Mac App Store. (Note: If using an older version of MacOS, previous versions of Xcode can be found here: [https://developer.apple.com/download/]
* Install Xcode from the Mac App Store. (Note: If using an older version of MacOS, previous versions of Xcode can be found here: [https://developer.apple.com/download/]
-
* Enable command line tools for Xcode using the terminal command: ''xcode-select --install''.
+
* Enable command line tools for Xcode using the terminal command: <code>xcode-select --install</code>.
* Download and run the ROOT dmg from CERN: [https://root.cern.ch/downloading-root]
* Download and run the ROOT dmg from CERN: [https://root.cern.ch/downloading-root]
* Navigate to your user folder in Finder, use '''CMD+SHIFT+.''' to show hidden files, one of which will be ''.bash_profile''.
* Navigate to your user folder in Finder, use '''CMD+SHIFT+.''' to show hidden files, one of which will be ''.bash_profile''.
-
* Edit the text file by adding the line: ''. <pathname>/root/bin/thisroot.sh'' (where ''<pathname>'' is the directory that leads to the folder ROOT is installed in, noting that the folder root typically has a version   number attached to it)
+
* Edit the text file by adding the line: <code>. <pathname>/root/bin/thisroot.sh</code> (where <code><pathname></code> is the directory that leads to the folder ROOT is installed in, noting that the folder root typically has a version number attached to it)
* If your ''.bash_profile'' is locked, add permissions by selecting “Get Info” and unlocking the file/giving yourself read and write privileges.
* If your ''.bash_profile'' is locked, add permissions by selecting “Get Info” and unlocking the file/giving yourself read and write privileges.
-
* You can now run ROOT in terminal by typing ''root''.
+
* You can now run ROOT in terminal by typing <code>root</code>.

Revision as of 15:12, 30 July 2018

Local Installation on MacOS

Correct for MacOS High Sierra 10.13.6

  • Install Xcode from the Mac App Store. (Note: If using an older version of MacOS, previous versions of Xcode can be found here: [1]
  • Enable command line tools for Xcode using the terminal command: xcode-select --install.
  • Download and run the ROOT dmg from CERN: [2]
  • Navigate to your user folder in Finder, use CMD+SHIFT+. to show hidden files, one of which will be .bash_profile.
  • Edit the text file by adding the line: . <pathname>/root/bin/thisroot.sh (where <pathname> is the directory that leads to the folder ROOT is installed in, noting that the folder root typically has a version number attached to it)
  • If your .bash_profile is locked, add permissions by selecting “Get Info” and unlocking the file/giving yourself read and write privileges.
  • You can now run ROOT in terminal by typing root.
Personal tools