Run prepare_toolchain without root user



I am trying to install SciDB locally on Ubuntu 14.04 and I am facing an issue with the prepare_toolchain script and specifically the following command

spawn ssh -o StrictHostKeyChecking=no root@localhost rm -rf /tmp/root/deployment && mkdir -p /tmp/root

because root user is not enabled on my machine.

I read in previous posts that root user won’t be needed as of version 15.12 or that I can make it work by using “sudo” in front of each command. Where can I find the corresponding script in order to add “sudo” before commands? Is there another way to avoid activating root user?

Thank you,