設定を確認したい(root-config

$ root-config --help

root-configでインストールしたROOTの設定を確認できます。

バージョンを確認したい(--version

$ root-config --version
6.32.08

$ root-config --git-revision
6-32-08

--versionなどでバージョン情報を細かく確認できます。

パスを確認したい(--prefix

$ root-config --prefix

root-config --prefixで、ROOTがインストールされているパスを確認できます。 シェルスクリプトやC++アプリなどでのROOTのパス設定を汎用化できます。

Pythonを確認したい(--python-version

$ root-config --python-version
3.13.0

--python-version(もしくは--python3-version)で、 PyROOTで使われているPythonのバージョンを確認できます。

PyROOTを使う場合は --python-versionのバージョンと Pythonの実行環境のバージョンを合わせる必要があります。

機能を一覧したい(--features

$ root-config --features
cxx17
asimage
builtin_afterimage
builtin_clang
builtin_cling
builtin_freetype
builtin_llvm
builtin_openui5
builtin_vdt
clad
cocoa
dataframe
davix
fftw3
fitsio
fortran
gdml
gnuinstall
http
imt
libcxx
mathmore
mysql
opengl
pyroot
roofit
webgui
root7
rpath
runtime_cxxmodules
shared
sqlite
ssl
tmva
tmva-cpu
tmva-pymva
spectrum
vdt
xml
xrootd

--featuresで、有効になっている機能を確認できます。