# Cannot complie ROOT on ubuntu 18.04

**URL:** <https://root-forum.cern.ch/t/cannot-complie-root-on-ubuntu-18-04/31521>\
**Category:** ROOT\
**Created:** [November 9, 2018, 5:12pm UTC](https://root-forum.cern.ch/t/cannot-complie-root-on-ubuntu-18-04/31521 "2018-11-09T17:12:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [November 9, 2018, 5:34pm UTC](https://root-forum.cern.ch/t/cannot-complie-root-on-ubuntu-18-04/31521/2 "2018-11-09T17:34:34Z")

</div>

Hi,  
if you don’t have any special requirement, maybe you can grab a [precompiled ROOT](https://root.cern/downloading-root) rather than compile it yourself: we have binary releases for ubuntu 18, that you just need to untar (and then you need to `source $ROOTSYS/bin/thisroot.sh` to add ROOT to your environment).

If you want to compile ROOT yourself you should use a newer version than 6.08 (6.08 is more than 5 years old and Ubuntu 18 is from this year, there might be mismatches in package versions).  
The latest release is v6.14.04, but 6.16 is coming very soon.

Also, make sure to use `cmake` rather than `./configure; make`, the latter build method has been deprecated after moving to C++ de-facto standard `cmake` build system.

Cheers,  
Enrico

---

_[View the full topic](https://root-forum.cern.ch/t/cannot-complie-root-on-ubuntu-18-04/31521)._
