# Can't run tutorials on IOS

**URL:** <https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199>\
**Category:** Newbie\
**Created:** [March 15, 2022, 2:28pm UTC](https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199 "2022-03-15T14:28:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabeO](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/76d3ee/32.png) [@GabeO](https://root-forum.cern.ch/u/GabeO)\
**Post date:** [March 15, 2022, 2:28pm UTC](https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199/1 "2022-03-15T14:28:10Z")

</div>

Hello,

I’ve recently installed root using homebrew (brew install root) on Mac. Everything worked without any error. The problem is when I try running any tutorial. After typing  
.x df000.C  
I get Error “Error in \< TApplication::ExecuteFile\>: macro df000.C not found in path .:/usr/local/Cellar/root/6.26.00/share/root/macros”. I don’t know how to solve this problem. Also my homebrew is up to date.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 15, 2022, 3:00pm UTC](https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199/2 "2022-03-15T15:00:59Z")

</div>

`df000.C` does not exist in the ROOT tutorials. But `df000_simple.C` does.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 15, 2022, 3:04pm UTC](https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199/3 "2022-03-15T15:04:45Z")

</div>

and I suppose this macro in not in `/usr/local/Cellar/root/6.26.00/share/root/macros` nor in the current directory. Just check with `ls`

---

<div class="post-metadata">

**Author:** ![GabeO](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/76d3ee/32.png) [@GabeO](https://root-forum.cern.ch/u/GabeO)\
**Post date:** [March 17, 2022, 11:27am UTC](https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199/4 "2022-03-17T11:27:32Z")

</div>

I’m kinda lost here. I don’t know what I am supposed to do to run a tutorial. Do I create a file with macros in my working directory?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 17, 2022, 12:33pm UTC](https://root-forum.cern.ch/t/cant-run-tutorials-on-ios/49199/5 "2022-03-17T12:33:50Z")

</div>

All the tutorials macros exist in `$ROOTSYS/tutorials`
