How to Install GoLang 1.5 on Ubuntu

Reading time ~1 minute

Check what the latest version are from GoLang:

Download and install (update the version to the latest):

wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.5.linux-amd64.tar.gz

Add /usr/local/lib/go/bin to the PATH environment variable. You can do this by adding this line to your /etc/.profile (for a system-wide installation) or $HOME/.profile:

export GOROOT=/usr/local/go
export PATH=$GOROOT/bin:$PATH

To remove an older version of Golang:

sudo rm -rf /usr/local/go

Links

Solve Screen Error Cannot Open Your Terminal /dev/pts/0 - Please Check

При попытке открытия терминала screen можно получить ошибку```Cannot open your terminal '/dev/pts/0' - please check.```Это бывает когда п...… Continue reading