LoginSignup
9
6

More than 5 years have passed since last update.

CERN開発のデータ解析ソフト「ROOT」のインストールがhomebrewで簡単にできてしまう件について

Last updated at Posted at 2014-12-04

だから Mac にしろっていったじゃん。(スタバマックカシャーンッ!)

$ brew -v
$ brew tap homebrew/homebrew-science
$ brew info root
$ brew install root
$ root

welcome_root.png

追記:pyROOT環境

$ mdfind ROOT.py
=> /usr/local/Cellar/root/5.34.24/lib/root/ROOT.py

従ってPYTHONPATHに追加する。ROOTSYSはたぶん不要。
add .bashrc

export ROOTSYS=/usr/local/Cellar/root/5.34.24
export PYTHONPATH=$ROOTSYS/lib/root

そのあとはsourceコマンド もしくは再起動

$ env | grep PYTHON
=> PYTHONPATH=$ROOTSYS/lib/root # or etc...
$ python -c "import ROOT;"
=> no error

研究よりの敷居高さなんて、時代じゃないんだよ。

9
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
6