How to install golang 1.9 on ubuntu 16.4 ?

Subscribe dengan Account Google untuk mendapatkan News Letter terbaru dari Halovina !
How to install golang 1.9 on ubuntu 16.4 ?
Lenovo IdeaPad Slim 3 14ABR8 AMD Ryzen 5

Lenovo IdeaPad Slim 3 14ABR8 AMD Ryzen 5

Lenovo IdeaPad Slim 3 14ABR8 82XL0004ID - ABYSS BLUE = LENOVO SLIM 3 82XL007CID R5-7530U/8GB/512GB/14.0/WIN11+OHS/ABYSS BLUE, Lenovo IdeaPad Slim 3 14ABR8 82XL0005ID - ARCTIC GREY = LENOVO SLIM 3 82XL007BID R5-7530U/8GB/512GB/14.0/WIN11+OHS/ARCTIC GREY

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 :