Articles

Go Setup

Go

wget https://go.dev/dl/go1.23.5.linux-arm64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.5.linux-arm64.tar.gz

TinyGo
wget https://github.com/tinygo-org/tinygo/releases/download/v0.35.0/tinygo_0.35.0_armhf.deb
sudo dpkg -i  tinygo_0.35.0_armhf.deb
sudo nano -w  /boot/firmware/config.txt
# Force 4k page size to work around error:
# libdl.so.2: ELF load command address/offset not page-aligned
kernel=kernel8.img


install the 32 bit C++ runtime library, e.g.:

sudo apt install libstdc++6:armhf


Published 18 Jan 2025