Setting PATH for Debian root-system package

Hello everybody,

i’m running Debian testing ‘wheezy’ and installed root 5.34/00 using

To use PyROOT I need to add ROOTSYS/lib to my path (and PYTHONDIR/lib as well)
as described here http://root.cern.ch/drupal/content/pyroot
However, i wonder which folder is the ROOTSYS (and Pythondir).

Root files are spread over man folders, python’s files as well.

I hope theres a quick solution for this.
Thanks in advance,
Martin

See: http://packages.debian.org/wheezy/root-system
I think this distribution was configured with “–prefix=/usr”, so it’s not based on ROOTSYS at all (and so you should not try to set it yourself at all). See, for example, the “list of files” for (note: appropriate links available in the bottom of these pages):
root-system-bin
libroot-core-dev

Everything (appropriate paths to binaries and libraries) should be managed “automatically” (you should not need to modify any environment variables then).

If you want to use PyROOT, make sure that you have the libroot-bindings-python-dev package installed as well (again, there should be no need to set any environment variables, just install this package and all its dependencies).

Note: you may need to re-login after installing these packages (or even reboot the machine).


and it works right out of the box.

Thank you VERY much, Wile E. Coyote. Very helpful!

and it works right out of the box.

Thank you VERY much, Wile E. Coyote. Very helpful!