Installing go in home directory (non root)

I’ve managed to install go in my home directory in $HOME/usr/local/bin
All the commands such as go mod init and go mod tidy seem to be working fine.
I’m doing this because I do not have root access to the server on which I want to install golang.
Has anyone tried this? Is there anything I need to watch out for?

$HOME is enough, there is no need to put it in /usr/local/bin subfolder. Also you can use the below tool to install everything automatically.

1 Like

@geosoft1 Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.