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

Nishant Saurabh said…
Very informative and well-explained tutorial.The Golang-tutorial concepts are easy to understand, and the examples are helpful for beginners.Great learning resource Learn Golang-tutorial.

Popular posts from this blog

Windows SSH: Permissions for 'private-key' are too open

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