Catalogue
Installing Go on a Raspberry Pi

Installing Go on a Raspberry Pi

🌐 日本語で読む

Here are the steps to install Go on a Raspberry Pi.
We’ll install version 1.18.2, the latest as of 2022.05.15.

1
2
3
4
5
6
7
8
wget https://golang.org/dl/go1.18.2.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.18.2.linux-armv6l.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.bashrc
echo 'export PATH=$HOME/go/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

// Check the version
go version
  • Verified with the Raspberry Pi OS Bullseye 2022.04.04 release.
Author

Kenzo Tanaka

Posted on

2022-05-15

Licensed under