Unable to install root on ubuntu 10

The ROOT team provides ready-to-use binary distributions for some systems, including “Ubuntu 14 gcc4.8”, “Ubuntu 16 gcc5.4” and “Ubuntu 18 gcc7.3”, which you just need to download and unpack.

BTW. The old Ubuntu “root-system” packages provided a very outdated / obsolete ROOT 5.34/30 only and they were completely removed in Ubuntu 18.04. See also this old post.