# Error when build Root on Subsystem linux

**URL:** <https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622>\
**Category:** Newbie\
**Created:** [January 18, 2020, 7:24am UTC](https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622 "2020-01-18T07:24:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hammiu](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hammiu/32/20395_2.png) [@hammiu](https://root-forum.cern.ch/u/hammiu)\
**Post date:** [January 18, 2020, 7:24am UTC](https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622/1 "2020-01-18T07:24:00Z")

</div>

I have a error when building the ROOT on subsystem linux.

 ![Screenshot_1](https://root-forum.cern.ch/uploads/default/original/3X/e/6/e642cfa5a6ae2b1f45ae40d924ec194e47bf7868.png)  
I run command `sudo apt install cmake` again but it doesn’t resolve the problem.

_ROOT Version:_ 6.18.04  
_Platform:_ Subsystem linux  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![hammiu](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hammiu/32/20395_2.png) [@hammiu](https://root-forum.cern.ch/u/hammiu)\
**Post date:** [January 18, 2020, 7:31am UTC](https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622/2 "2020-01-18T07:31:01Z")

</div>

And there are some notifications when i run additional commands.

 ![Screenshot_2](https://root-forum.cern.ch/uploads/default/original/3X/4/3/432c71644d0504f97bc36801cd75b6876d8685ae.png) ![Screenshot_3](https://root-forum.cern.ch/uploads/default/original/3X/5/4/54c8f83b884b449a914d2762741035832070a174.png) ![Screenshot_4](https://root-forum.cern.ch/uploads/default/original/3X/2/6/266f4f46cc89c1b9e3e2d65cb021fd43033ff645.png) ![Screenshot_5](https://root-forum.cern.ch/uploads/default/original/3X/8/f/8fc277d70d94b1eb809be23cb0e24de45cfece86.png)

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [January 20, 2020, 9:10am UTC](https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622/3 "2020-01-20T09:10:21Z")

</div>

Can you access the internet from WSL? The errors are from failing to download the packages.

---

<div class="post-metadata">

**Author:** ![hammiu](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/hammiu/32/20395_2.png) [@hammiu](https://root-forum.cern.ch/u/hammiu)\
**Post date:** [January 22, 2020, 3:53am UTC](https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622/4 "2020-01-22T03:53:00Z")

</div>

I can access the internet from WSL because i downloaded ROOT on WSL. I have a confuse. Do I need install Microsoft Visual Studio on Win 10 corresponding with version of ROOT installed on WSL?

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [January 22, 2020, 9:11am UTC](https://root-forum.cern.ch/t/error-when-build-root-on-subsystem-linux/37622/5 "2020-01-22T09:11:30Z")

</div>

Can you install other software using apt-get?
