Ubuntu 16.04 Installation Troubles

I am trying to install Root 6.08 on Ubuntu 16.04. I downloaded and unzipped the file in my home directory and am trying to build it with cmake 3.8.1. From my build directory (called rootbuild) if I run
cmake ../root
I get an error:

CMake Error: The source directory "/home/me/root" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

I noticed that CMakeLists.txt was in the test directory so I tried:

cmake ../root/test

and got:

CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "FindROOT.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ROOT", but
  CMake did not find one.

  Could not find a package configuration file provided by "ROOT" with any of
  the following names:


  Add the installation prefix of "ROOT" to CMAKE_PREFIX_PATH or set
  "ROOT_DIR" to a directory containing one of the above files.  If "ROOT"
  provides a separate development package or SDK, be sure it has been

-- Configuring incomplete, errors occurred!
See also "/home/me/rootbuild/CMakeFiles/CMakeOutput.log".

Anybody know how to fix this and complete the build? Thanks in advance for any help

1 Like


what tarball did you download? Are you sure these are the sources?


I downloaded the Ubuntu 16 binary distribution

if you want to build from sources, you should download the sources.

That seems to be working. I guess I didn’t know the difference between a source and a binary distribution but some googling after your comment helped. Thank you


you are very welcome!


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.