# Where is the $SYSROOT/test directory for ROOT installation via conda

**URL:** <https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988>\
**Category:** Newbie\
**Tags:** root\
**Created:** [September 25, 2021, 7:38am UTC](https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988 "2021-09-25T07:38:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JunKai](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/junkai/32/27450_2.png) [@JunKai](https://root-forum.cern.ch/u/JunKai)\
**Post date:** [September 25, 2021, 7:38am UTC](https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988/1 "2021-09-25T07:38:48Z")

</div>

Hi,

I am following the tutorial (`https://root.cern.ch/root/htmldoc/guides/users-guide/Trees.html#creating-and-saving-trees`), and it needs LibEvent.so to proceed.

The easiest way is to follow the instructions in the tutorial, but I ran into problem in which my  
$SYSROOT/test folder is missing.

I am installing ROOT from conda, so $SYSROOT should be at : /home//.conda/envs//

I am wondering if this is the common scenario for ROOT installation through conda, and I hope if somebody could point out the solution for me.

Thanks in advance

\_ROOT Version:6.24.00 (conda-forge channel, conda = 4.8.3)  
\_Platform:\_Linux 3.10.0-1127.el7.x86\_64  
\_Compiler:g++ (crosstool-NG 1.24.0.133\_b0863d8\_dirty) 9.3.0 (comes with conda)

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [September 25, 2021, 7:46am UTC](https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988/2 "2021-09-25T07:46:21Z")

</div>

The “test” directory is only present in the “source code distribution” (it never gets copied into the “binary distribution”).

---

<div class="post-metadata">

**Author:** ![JunKai](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/junkai/32/27450_2.png) [@JunKai](https://root-forum.cern.ch/u/JunKai)\
**Post date:** [September 25, 2021, 7:54am UTC](https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988/3 "2021-09-25T07:54:52Z")

</div>

oh, ok.  
so, if I pull the /test directory from the source, putting it into the $ROOTSY before compiling, the thing will work, am i correct ?

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [September 25, 2021, 8:03am UTC](https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988/4 "2021-09-25T08:03:27Z")

</div>

I guess you can copy the “test” directory (and its subdirectories) to any place you like (i.e., no need to pollute your “ROOTSYS”).

---

<div class="post-metadata">

**Author:** ![JunKai](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/junkai/32/27450_2.png) [@JunKai](https://root-forum.cern.ch/u/JunKai)\
**Post date:** [September 25, 2021, 8:04am UTC](https://root-forum.cern.ch/t/where-is-the-sysroot-test-directory-for-root-installation-via-conda/46988/5 "2021-09-25T08:04:00Z")

</div>

Thanks for your help !
