Creating wallet on google cloud

When I try to install the dependencies I get cannot find pkg for all the dependencies. I was able to install libtool but not the rest, any ideas how to install on google cloud?