CERN ROOT Installation in Ubuntu 18.04 and Enabling all libraries

Опубликовано: 29 Март 2026
на канале: Tech for curious
38,269
364

In this video, we have explained about CERN ROOT installation in Ubuntu 18.04 and enabling all libraries. The commands used can be found in the following article:

http://techforcurious.website/cern-ro...

If you are interesting in learning about ROOT then you may watch the following tutorial:

CERN ROOT Tutorial 1 - Getting Started with ROOT Macro and Compilation
   • CERN ROOT Tutorial 1 - Getting Started wit...  

CERN ROOT Tutorial Playlist:    • CERN ROOT Tutorial  

Update Fri Dec 20, 2019:

Dear all,

This method of -Dall=ON was working fine in the earlier versions like 6.10.04. Nowadays -Dall=ON is not skipping the libraries if prerequisites are incomplete.
So, I would recommend going with basic compilation of root if you are a beginner and don't want any other specific library.

cmake ../root-6.18.04/

You can still add specific libraries using -D flag for e.g.

cmake ../root-6.18.04/ -Dminuit2=ON

The remaining commands are the same.

mkdir root
cd root
cmake ../root-6.18.04/
make -j8
make install

Follow us on:
Facebook:   / techforcurious  
Twitter:   / techforcurious  
Website: http://techforcurious.website/