How to install root 6.18 on ubuntu 20.04?

I’m trying to install root 6.18 on ubuntu 20.04, because we are using Python3 and ubuntu 20.04 can install root on Python3 automatically. We’ve tried to install root 6.18 on ubuntu 18.04 and linked the root to the library of Python3 but we failed.

The matter is no suitable version released to install root 6.18 on ubuntu 20.04, so what can I do?

_ROOT Version:6.18
_Platform:ubuntu 20.04
_Compiler:gc 9.3


Unless you have a good reason to install an older version, you should use the latest ROOT.

If you really need that version, you will have to compile it yourself (see “Build from source” at the bottom of that page).

Hi @wangpeilin9857 ,

and welcome to the ROOT forum!

Besides compiling ROOT from source, you might also be able to install your desired ROOT version as a conda package, e.g. with mamba create -c conda-forge --name my-root-env root=6.18, see also Installing ROOT - ROOT

Cheers,
Enrico

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