From @olifre :
- Install WSL ( https://aka.ms/install ) and then Ubuntu 18.04 from the Windows Store. The first step is not needed anymore for most recent Windows 10 versions, I think.
- Start the freshly installed Ubuntu Bash shell and install the dependencies and some build tools:
sudo apt update && sudo apt dist-upgrade
sudo apt install build-essential libtbb-dev libtiff5 x11-apps git
- Now there’s no graphics, since WSL does not ship any X server. You can fix that e.g. by installing Xming and then running inside the Bash shel:
export DISPLAY=localhost:0.0
Xming needs to be running when using this setup! - Now, the regular Ubuntu 18.04 instructions apply, i.e. download the tarball from the ROOT webpage (with
wget
), extract it, runsource root/bin/thisroot.sh
and you can run ROOT with graphics!