Install Golang 1.10 on Raspberry Pi

If already installed golang with apt-get, you need first to remove it:

sudo apt remove golang*
sudo apt-get autoremove

Install Golang 1.10

wget https://dl.google.com/go/go1.10.3.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.10.3.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin # put into ~/.profile

After you update the ~/.profile:

source .profile
````

# Test

``` bash
go version

Leonardo Lazzaro

Software engineer and technical writer. 10+ years experience in DevOps, Python, and Linux systems.

More articles by Leonardo Lazzaro