Tuesday, 1 January 2019

How to install Go on Ubuntu 18.04

Download archive for Ubuntu from golang's Download page and unpack it into /usr/local:

$ tar -C /usr/local -xzf go1.11.4.linux-amd64.tar.gz

This creates /usr/local/go installation directory which contains binaries in /usr/local/go/bin. This path, together with the path to your Go workspace directory (unless it's placed at its default location $HOME/go) shall be added to bash configuration so it's accessible from terminal. Open the configuration:

$ sudo gedit ~/.bashrc

and add:

export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/dev/go

To test the installation, please find the procedure in How to install Go on Nvidia Jetson TX2 article.

1 comment:

micheal pan said...

BE SMART AND BECOME RICH IN LESS THAN 3DAYS....It all depends on how fast 
you can be to get the new PROGRAMMED blank ATM card that is capable of
hacking into any ATM machine,anywhere in the world. I got to know about 
this BLANK ATM CARD when I was searching for job online about a month 
ago..It has really changed my life for good and now I can say I'm rich and 
I can never be poor again. The least money I get in a day with it is about 
$50,000.(fifty thousand USD) Every now and then I keeping pumping money 
into my account. Though is illegal,there is no risk of being caught 
,because it has been programmed in such a way that it is not traceable,it 
also has a technique that makes it impossible for the CCTVs to detect 
you..For details on how to get yours today, email the hackers on : (
atmmachinehackers1@gmail.com ). Tell your 
loved once too, and start to live large. That's the simple testimony of how 
my life changed for good...Love you all ...the email address again is ;