Install Latest Go on Ubuntu

It can some times be hard to find a solution that work to installing the latest version of Go on your Ubuntu system. The difficulty is you may want the latest version of Go and this may not be available as a package for you Linux distro, to get around this you can install using the following method. You will need to visit the following page (https://code.google.com/p/go/wiki/Downloads?tm=2) to figure the latest versionof Go that you want to install, then follow these steps,

wget https://storage.googleapis.com/golang/go1.3.linux-amd64.tar.gz

tar -zxvf go1.2.2.linux-amd64.tar.gz

rm go1.2.2.linux-amd64.tar.gz

mv go /usr/local

echo “PATH=/usr/local/go/bin:$PATH”>>~/.profile

source ~/.profile

You may want to think about adding PATH  to .bashrc

echo “PATH=/usr/local/go/bin:$PATH”>>~/.bashrc

Have lots of GO fun………….

3 thoughts on “Install Latest Go on Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s