This is a creation in Article, where the information may have evolved or changed.
1. Simplest direct way (without setting goroot)
-Download the archive and unzip it to /usr/local/go/
-Set Environment variables
-Set the system-level
gedit/etc/profile# Add the following line at the end of the export PATH= $PATH:/usr/local/go/bin
-or set the user-level export path= $PATH:/usr/local/go/bin to the $HOME/.profile file.
-Logout
2. Installing to a custom location (e.g. $HOME/go )
-Download the archive and unzip it
-Add the following environment variable to the $HOME/.profile file
Export goroot= $HOME/goexport PATH= $PATH: $GOROOT/bin
-Logout
3. Installing Liteide
If the Golang is installed according to 1, then download a liteide extract directly to run.
My shortcut Habits settings (view--options)
ctrl+shift+k Deleting rows
ctrl+d Copy rows/duplicates
ctrl+shift+/ Toggle block Comment
ctrl+/ Toggle Annotations
ctrl+l Clipping line
ctrl+f Search, default is ctrl+shift+f
ctrl+b Build
Ctrl+r Run/build and Run
Ctrl + ' Execute file