Recent go on Pop!_OS

29 September 2024

Below are instructions for obtaining a recent version of go on Pop!_OS 22.04 LTS. At the time of writing the default version is 1.18 which is quite a few versions behind the latest version of go.

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt remove golang
sudo apt install golang-go

Let’s check it

go version
go version go1.23.1 linux/amd64

… which is recent at the time of writing

References