# Problem with source the code

**URL:** <https://root-forum.cern.ch/t/problem-with-source-the-code/46866>\
**Category:** Newbie\
**Created:** [September 16, 2021, 12:34pm UTC](https://root-forum.cern.ch/t/problem-with-source-the-code/46866 "2021-09-16T12:34:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![2545jhhh](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/2545jhhh/32/27398_2.png) [@2545jhhh](https://root-forum.cern.ch/u/2545jhhh)\
**Post date:** [September 16, 2021, 12:34pm UTC](https://root-forum.cern.ch/t/problem-with-source-the-code/46866/1 "2021-09-16T12:34:18Z")

</div>

* * *

Dear all,  
I’ve secondary account and I cannot source the code. It gives a lot of errors such as " bash: setenv: command not found "

Also, when I enter the command " setenv HOME /afs/cern.ch/user/m/myprofile ", Again it gives same error " -bash: setenv: command not found ". I have also tried with " export HOME /afs/cern.ch/user/m/myprofile ". It still does not work.

Primary account can source those codes without any error.  
We could not figure out the reason of the errors.

Thanks

\_Platform: Ubuntu 20.4

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [September 16, 2021, 12:37pm UTC](https://root-forum.cern.ch/t/problem-with-source-the-code/46866/2 "2021-09-16T12:37:19Z")

</div>

Welcome to the ROOT Forum!  
May I ask how this is related to ROOT at all?

---

<div class="post-metadata">

**Author:** ![2545jhhh](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/2545jhhh/32/27398_2.png) [@2545jhhh](https://root-forum.cern.ch/u/2545jhhh)\
**Post date:** [September 16, 2021, 1:30pm UTC](https://root-forum.cern.ch/t/problem-with-source-the-code/46866/3 "2021-09-16T13:30:37Z")

</div>

sorry

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [September 16, 2021, 1:31pm UTC](https://root-forum.cern.ch/t/problem-with-source-the-code/46866/4 "2021-09-16T13:31:15Z")

</div>

So I guess I can delete this topic?

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [September 30, 2021, 1:31pm UTC](https://root-forum.cern.ch/t/problem-with-source-the-code/46866/5 "2021-09-30T13:31:25Z")

</div>

Closed on September 30, 2021, 1:31pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
