How to install golang 1.9 on ubuntu 16.4 ?

Subscribe Dengan Account Google Untuk Membaca Artikel Tanpa Iklan !
How to install golang 1.9 on ubuntu 16.4 ?
Sepeda Motor Listrik PROSTREET

Sepeda Motor Listrik PROSTREET

Merk : PROSTREET KITKAT - Type : Sepeda Listrik - Battery : 48V/ 20AH - Motor Power : 650WATT - Kecepatan Max : 45km/ - Jarak Tempuh : ± 60 KM - Daya Angkut : Max. 150 Kg

Free Klik Disini !

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

ubuntu 16.04 default package Golang 1.6.x. for that you need add or upgrade repository, follow the step below :

sudo add-apt-repository ppa:gophers/archive sudo apt update sudo apt-get install golang-1.9-go

 

The add go the go path to the your PATH:

echo "export PATH=\$PATH:/usr/lib/go-1.9/bin" >> ~/.profile

Then finally load the new path:
source ~/.profile

check whether the installation process is correct
go version

Note : Although everything should now work, it might be wise to just log out and back in to make sure other programs also get the updated path.

read others article :