Installing root on Ubuntu 24.04 VM running on parallels on a Mac M3 Pro

Dear experts,

I am running a VM Ubuntu 24.04 in Parallels on a Mac M3 Pro (Sonoma 14.7.3) :

In the Ubuntu VM:

uname -a
Linux ubuntu-linux-2404 6.8.0-58-generic #60-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 14 18:09:50 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

I am trying to install root, ideally using a binary distribution, but I am only finding the x86 versions, i.e.:

Ubuntu 24.04 ➜ root_v6.32.12.Linux-ubuntu24.04-x86_64-gcc13.3.tar.gz

Is there a binary distribution I could use here? If not, what would be the best way to install root on this VM?

Many thanks!
Thorsten

That’s the file you need, just uncompress it and do the usual (source the thisroot.sh file…). Did you try it and had any problems? Also install the dependencies before using ROOT.

Hi, thanks for the reply. I tried this one already, it leads to this:

parallels:~$ tar xvzf root_v6.32.10.Linux-ubuntu24.04-x86_64-gcc13.3.tar.gz
root/
root/ui5/
root/ui5/distribution/
root/ui5/distribution/LICENSE.txt

parallels:~ source root/bin/thisroot.sh parallels:~ root
bash: /home/parallels/root/bin/root: cannot execute binary file: Exec format error

which is put down to this mismatch:

parallels:~$ file root/bin/root
root/bin/root: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=67697b58700b5a65dd9692c19a21c5bcb3faee0d, for GNU/Linux 3.2.0, not stripped

parallels:~$ uname -a
Linux ubuntu-linux-2404 6.8.0-58-generic #60-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 14 18:09:50 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux

i.e. trying to run a x86 binary on a aarch64 architecture. Hence my question if there is a binary version for this architecture - or did I misinterpret this?

Cheers,
Thorsten

I see, I missed the aarch64 bits. So if the macOS arm binaries don’t work (I don’t know, I don’t use that) you’ll have to build it yourself; try Building ROOT from source - ROOT or Search results for 'compile arm order:latest' - ROOT Forum, maybe some else has done it.

Indeed the macOS binaries do not work either, so it seems installing from source would be the only option.

Thanks,
Thorsten