# How to open root after installing?

**URL:** <https://root-forum.cern.ch/t/how-to-open-root-after-installing/48680>\
**Category:** Newbie\
**Created:** [February 6, 2022, 10:55pm UTC](https://root-forum.cern.ch/t/how-to-open-root-after-installing/48680 "2022-02-06T22:55:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshpf](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/joshpf/32/28683_2.png) [@joshpf](https://root-forum.cern.ch/u/joshpf)\
**Post date:** [February 6, 2022, 10:55pm UTC](https://root-forum.cern.ch/t/how-to-open-root-after-installing/48680/1 "2022-02-06T22:55:26Z")

</div>

Hello,

My computer BSOD after “.q” in root. Now I open ubuntu and use “root” command and it says that command does not exist. How do I open root again?

_ROOT Version:_ Not Provided  
_Platform:_ Ubuntu on WSL  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [February 7, 2022, 4:48am UTC](https://root-forum.cern.ch/t/how-to-open-root-after-installing/48680/2 "2022-02-07T04:48:28Z")

</div>

First, when you open Ubuntu, try to run thisroot.sh, which is in the root/bin folder, i.e.:

```auto
 source /path/to/root/bin/thisroot.sh

```

(use the path where you extracted root!).  
If that works, you have to run that every time you open a new Ubuntu terminal window. To do it automatically, add that same line at the end of your `~/.bashrc` file. If it didn’t work (and you are sure the file `thisroot.sh` is in that location), it may be better to reinstall root. Follow the [instructions for WSL](https://root-forum.cern.ch/t/complete-root-installation-instructions-for-wsl-ubuntu-18-04-on-windows-10/35148).
