# Problem while installing ROOT!

**URL:** <https://root-forum.cern.ch/t/problem-while-installing-root/50985>\
**Category:** ROOT\
**Created:** [July 27, 2022, 6:17pm UTC](https://root-forum.cern.ch/t/problem-while-installing-root/50985 "2022-07-27T18:17:24Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [July 30, 2022, 3:12pm UTC](https://root-forum.cern.ch/t/problem-while-installing-root/50985/20 "2022-07-30T15:12:51Z")

</div>

First, make sure you run: `sudo apt-get install curl wget git`

Then, assuming that “`nproc`” returns 4 or more and you have 8 GB RAM or more (if not, instead of “`-j4`” use “`-j1`”):

> [@Installation error on windows](https://root-forum.cern.ch/t/installation-error-on-windows/50165/4):
>
> Try something like this: rm -rf root\_src root\_build root\_install git clone --branch v6-26-00-patches --depth=1 https://github.com/root-project/root.git root\_src mkdir root\_build cd root\_build cmake -Dall="ON" -DCMAKE\_INSTALL\_PREFIX=../root\_install ../root\_src cmake --build . -- install -j4

---

_[View the full topic](https://root-forum.cern.ch/t/problem-while-installing-root/50985)._
