ubuntu 24 installing golang 1.24

To install golang on ubuntu, you can run the following commands.

Remove any golang installation

sudo rm -rf /usr/local/go


Download golang

wget https://go.dev/dl/go1.24.0.linux-amd64.tar.gz

Extract it to user local 

sudo tar -C /usr/local -xzf go1.24.0.linux-amd64.tar.gz

Add golang to the path

export PATH=$PATH:/usr/local/go/bin
source ~/.bashrc



Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type