302 - MacOS Tips Edit Page
Contents
Install ROOT from source
- Download the ROOT source into $HOME/local/share/
- Unpack with ‘tar xf root-6.10.06.tar.gz’
- $ cd root-6.10.06/build
- $ cmake ..
- $ make -j4
- $ . ~/local/share/root-6.10.06/bulid/bin/thisroot.sh
- $ root
Note: step 4. : if the cmake is not in the default path, add this line to the .bashrc:
export PATH=/Applications/Cmake.app/Contents/bin:$PATH
Install ROOT from dmg
- Download the ROOT dmg file
- Double click and install
- $ source /Applications/root_v6.14.04/bin/thisroot.sh
Install Emacs
- Download the source file into $HOME/tmp
- Unpack with ‘tar xf emacs-25.3.tar.xz’
- $ cd emacs-25.3
- $ ./configure –with-ns
- $ make -j4
- $ make install
- $ open nextstep
- Drag the Emacs App into the ‘Applications’ location
Change hostname
From this link 1:
$ sudo scutil --set HostName "newname"