# Root 6.16.00 installation problem in ubantu 18.04

**URL:** <https://root-forum.cern.ch/t/root-6-16-00-installation-problem-in-ubantu-18-04/33340>\
**Category:** Newbie\
**Created:** [March 27, 2019, 7:30pm UTC](https://root-forum.cern.ch/t/root-6-16-00-installation-problem-in-ubantu-18-04/33340 "2019-03-27T19:30:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wajahat](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wajahat/32/23051_2.png) [@wajahat](https://root-forum.cern.ch/u/wajahat)\
**Post date:** [March 27, 2019, 7:30pm UTC](https://root-forum.cern.ch/t/root-6-16-00-installation-problem-in-ubantu-18-04/33340/1 "2019-03-27T19:30:04Z")

</div>

i am trying to install root 6.16.00 on my core i3 machine with 2GB ram and 500GB space. i built all prerequisites required but i m facing the following error when i use cmake --build . --j2 command

```auto
[54%] Copying /home/wajahat/Products/root-6.16.00/macros/Dialogs.C
[54%] Built target move_artifacts
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2 ~~~
plz help me i m biggener on ubantu so kindly tell me brief command syntax 
. thanks in advance
```

---

<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:** [March 27, 2019, 7:32pm UTC](https://root-forum.cern.ch/t/root-6-16-00-installation-problem-in-ubantu-18-04/33340/2 "2019-03-27T19:32:37Z")

</div>

> [@Root installation problem in ubantu 18.04](https://root-forum.cern.ch/t/root-installation-problem-in-ubantu-18-04/33338/2):
>
> [The ROOT team provides ready-to-use binary distributions for some systems, including “Ubuntu 18 gcc7.3”, which you just need to download and unpack.](https://root.cern.ch/downloading-root)

BTW. With only 2GB RAM, you should always use “-j 1”.

---

<div class="post-metadata">

**Author:** ![wajahat](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wajahat/32/23051_2.png) [@wajahat](https://root-forum.cern.ch/u/wajahat)\
**Post date:** [April 8, 2019, 6:27pm UTC](https://root-forum.cern.ch/t/root-6-16-00-installation-problem-in-ubantu-18-04/33340/3 "2019-04-08T18:27:53Z")

</div>

i increase the ram now 4GB but now the problem shown is as under [72%] Linking CXX shared library …/…/…/lib/libCling.so  
…/…/interpreter/llvm/src/lib/libLLVMPasses.a: error adding symbols: Archive has no index; run ranlib to add one  
collect2: error: ld returned 1 exit status  
core/rootcling\_stage1/CMakeFiles/rootcling\_stage1.dir/build.make:223: recipe for target ‘core/rootcling\_stage1/src/rootcling\_stage1’ failed  
make[2]: \*\*\* [core/rootcling\_stage1/src/rootcling\_stage1] Error 1  
CMakeFiles/Makefile2:19072: recipe for target ‘core/rootcling\_stage1/CMakeFiles/rootcling\_stage1.dir/all’ failed  
make[1]: \*\*\* [core/rootcling\_stage1/CMakeFiles/rootcling\_stage1.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
…/…/…/interpreter/llvm/src/lib/libLLVMPasses.a: error adding symbols: Archive has no index; run ranlib to add one  
collect2: error: ld returned 1 exit status  
core/metacling/src/CMakeFiles/Cling.dir/build.make:211: recipe for target ‘lib/libCling.so’ failed  
make[2]: \*\*\* [lib/libCling.so] Error 1  
CMakeFiles/Makefile2:17668: recipe for target ‘core/metacling/src/CMakeFiles/Cling.dir/all’ failed  
make[1]: \*\*\* [core/metacling/src/CMakeFiles/Cling.dir/all] Error 2  
Makefile:151: recipe for target ‘all’ failed  
make: \*\*\* [all] Error 2

---

<div class="post-metadata">

**Author:** ![wajahat](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wajahat/32/23051_2.png) [@wajahat](https://root-forum.cern.ch/u/wajahat)\
**Post date:** [April 8, 2019, 6:29pm UTC](https://root-forum.cern.ch/t/root-6-16-00-installation-problem-in-ubantu-18-04/33340/4 "2019-04-08T18:29:34Z")

</div>

is this still memory problem plz suggest me what should i do?
