ROOT(http://root.cern.ch)をubuntuへインストールするためには、いろいろパッケージが足りないのでインストールしなければならない。 $ sudo apt-get install libx11-dev $ sudo apt-get install build-essential $ sudo apt-get install libXpm-dev $ sudo apt-get install libgl1-mesa-dev $ sudo apt-get install libxext-dev $ sudo apt-get install libxft-dev $ tar zxvf root_v5.16.00.source.tar.gz $ cd root $ ./configure --prefix=/usr/local/root --libdir=/usr/loca
今までROOTはubuntuのリポジトリにあったものを使っていたのですが、これがあまり頻繁に更新されないようなので最新版を自分で入れることにしました。今使っているプログラムにメモリ関係のバグがあるらしく、原因はよくわからないけど最新版だとうまく動くらしいので。 簡単にインストールメモを書いておきます。 まずubuntuのリポジトリにあるものを削除。 $ sudo apt-get remove root-system 最新版をダウンロード。現時点でのROOTの最新版は5.26.00bです。 ftp://root.cern.ch/root/root_v5.26.00b.source.tar.gz $ tar zxvf root_v5.26.00b.source.tar.gz $ cd root $ ./configure linux --prefix $ make $ sudo make in
2. ソースコードの展開 ダウンロードしたファイルはtarコマンドによって圧縮されています。 解凍は次の様に行います。ここでは、コンパイルを行うディレクトリを /home/hoge/tmp とし、インストール先は /usr/local/hep/root/v5.16.00 とします。 以下のコマンドはこれらのディレクトリを作るところから始まります。 > pwd /home/hoge > mkdir tmp > su Password: > mkdir -p /usr/local/hep/root/v5.16.00 > exit (絶対忘れずにEXITする事!) > cd tmp > cp ../root_v5.16.00.source.tar.gz . > tar zxvf root_v5.16.00.source.tar.gz
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く