There is a long-standing problem with the “.tar.gz” binary distributions provided by the ROOT Team . Each of them relies on some set of system packages (compilers and libraries). Unfortunately, there is no place where these dependencies are explicitly listed.
Some time ago, I tried (and failed) to convince the ROOT Team managers to help people with it.
In your “install.sh
” script, you have a procedure that installs the packages needed by the “current” ROOT release. But, this procedure (and the list of packages that it uses) is “Ubuntu 20.04 LTS” specific (so, it works for the “current” WSL, too, but it will not work with other Ubuntu versions nor with different Linux flavors).