[LGTM] How to install packages from sources? (sudo does not work)

Hi,

I need to install a package from sources using the following script:

This script has to be run with sudo or by root (with super user privileges) in order to install binaries in the OS, but sudo does not work in LGTM. How can I do that?

Lukasz