# Root installation problem using windows subsystem method

**URL:** <https://root-forum.cern.ch/t/root-installation-problem-using-windows-subsystem-method/48258>\
**Category:** ROOT\
**Tags:** installation, root\
**Created:** [January 4, 2022, 1:34pm UTC](https://root-forum.cern.ch/t/root-installation-problem-using-windows-subsystem-method/48258 "2022-01-04T13:34:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [January 4, 2022, 2:15pm UTC](https://root-forum.cern.ch/t/root-installation-problem-using-windows-subsystem-method/48258/4 "2022-01-04T14:15:41Z")

</div>

Assuming you have WSL1:

> [@Complete ROOT Installation Instructions for WSL (Ubuntu 18.04 on Windows 10)](https://root-forum.cern.ch/t/complete-root-installation-instructions-for-wsl-ubuntu-18-04-on-windows-10/35148):
>
> From @olifre : Install WSL ( [https://aka.ms/install](https://aka.ms/install) ) and then Ubuntu 18.04 from the Windows Store. The first step is not needed anymore for most recent Windows 10 versions, I think. Start the freshly installed Ubuntu Bash shell and install the dependencies and some build tools: sudo apt update && sudo apt dist-upgrade sudo apt install build-essential libtbb-dev libtiff5 x11-apps git Now there’s no graphics, since WSL does not ship any X server. You can fix that e.g. by installing [Xming](https://sourceforge.net/projects/xming/) and…

If you don’t know how to use wget (for step 4), click on Download at the top of this page, then click on the latest ROOT release and download the (compressed) Binary version for your Ubuntu; then just unpack it to some folder and add this line

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

```

at the end of your .bashrc file (of course, using your correct path to that file), as per the instructions. And do not forget that the X server (Xming or [VcXsrv](https://sourceforge.net/projects/vcxsrv/) ) _must_ be running every time you want to use graphics in ROOT or any graphical thing in that Ubuntu.  
By the way, in step 3, the “export…” line should also be added to .bashrc, so you don’t have to type it every time.

---

_[View the full topic](https://root-forum.cern.ch/t/root-installation-problem-using-windows-subsystem-method/48258)._
