美文网首页
the right way to install crew RO

the right way to install crew RO

作者: 经常吃错药 | 来源:发表于2017-12-09 20:06 被阅读0次

ROOT for Mac is installed successfully by referring to https://thismodernphysics.wordpress.com/2014/01/16/installing-root-on-mac-10-9/

The detailed steps are:

Installing ROOT(latest version is5.34.14) on Mac 10.9 using cmake.

Firstly install required for ROOT to install.

$ brew install gfortran # Fortran compiler

$ brew install python  # Python interpreter

$ brew install pcre    # Regular Expressions library

$ brew install fftw    # Fast Fourier Transforms

$ brew install cmake    # Cross-platform make

That’s everything required for ROOT to install, now to download and compile.

Installing ROOT

There are two ways we can proceed,

Download the ROOT code and compile it ourselves.

Let homebrew do the heavy lifting.

Each way has (dis)advantages. The following section walks though the first option, and then introduce by the homebrew.

From source code

Just start from configure, when you finish untar source code on

Desktop/root, then

$ export INSTALL_DIR=/usr/local/root

$ mkdir $INSTALL_DIR

$ cd $INSTALL_DIR

Next, configure ROOT withcmake.

$ cmake ~/Desktop/root -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -Droofit=ON -Dcocoa=ON

In here, we’ve enabled RooFit and the Cocoa bindings for native OS X interaces(No XQuartz!!)

Finally compile,

$ make -j 4

$ make install

And then check everything works,

$ root -l

root [0] TBrowser l;

Homebrew

To install with Homebrew we need to add the science formula repository.

$ brew tap homebrew/science

# then, simply install ROOT, enableing the Cocoa interface,

$ brew install --with-cocoa root

ROOT is now fully compatible with Marverick from version 5.34/13.

相关文章

  • the right way to install crew RO

    ROOT for Mac is installed successfully by referring tohtt...

  • 学英语复盘3

    1、单词 peep、coward、beggar、insulator、dash、persuasion、crew、ro...

  • php my way.md

    php the right way 参考php the right way 代码环境 mac OS Homebre...

  • 日常小酿

    You have your way, I have my way. As for the right way, t...

  • right way or easy way?

    昨天听了李蕾的音频,她说,生活中不管是大事还是小事,其实都充满着重大的挑战,没有什么事情是容易的。从穿衣...

  • Easy way or Right way

    一次路过台北宋美龄故居,身旁的游客阿姨说:哎呀!真可怜,一生就是个填房,无儿无女的。我顿时很荒唐,她站在了如此高峰...

  • The right way or the easy way

    我最近的状态,生活节奏感有点乱,嗯,如上图所示,不知道从何时开始,差不多就是去年和前任结束后,就是每几天总是不停的...

  • 190321随笔

    always choose the right way instead of the easy way. it b...

  • 语言·翻译 | 小花英语学习笔记(4)

    Success is simple. Do what's right, the right way, at the...

  • 摩西奶奶

    You have your way. I have my way.As for the right way, th...

网友评论

      本文标题:the right way to install crew RO

      本文链接:https://www.haomeiwen.com/subject/bcypixtx.html