# Compile Error on Ubuntu 18.04

**URL:** <https://root-forum.cern.ch/t/compile-error-on-ubuntu-18-04/31136>\
**Category:** Newbie\
**Created:** [October 16, 2018, 11:01pm UTC](https://root-forum.cern.ch/t/compile-error-on-ubuntu-18-04/31136 "2018-10-16T23:01:35Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Ebhelixes\_Valencia\_m](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/43a26b/32.png) [@Ebhelixes\_Valencia\_m](https://root-forum.cern.ch/u/Ebhelixes_Valencia_m)\
**Post date:** [February 13, 2019, 1:29am UTC](https://root-forum.cern.ch/t/compile-error-on-ubuntu-18-04/31136/8 "2019-02-13T01:29:32Z")

</div>

Hi, I had the same problem and it was solved by using “cmake” instead of “./configure” and “make”. Thus after unpacking the .tar file and move it to your desired directory:

- mkdir root-version\_build
- cd root-version\_build
- cmake …/root-version/
- cmake --build . – -j3
- . bin/thisroot.sh
- root

You can check the useful info here:

[Cannot complie ROOT on ubuntu 18.04](https://root-forum.cern.ch/t/cannot-complie-root-on-ubuntu-18-04/31521/2?u=ebhelixes_valencia_m)

---

_[View the full topic](https://root-forum.cern.ch/t/compile-error-on-ubuntu-18-04/31136)._
