VPS business hosting starting at $29.95/24/7 premium technical support

golang update in centos

wget https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh
chmod 755 ./update-golang.sh
which go
sudo RELEASE=1.16.6  DESTINATION=/usr/lib ./update-golang.sh
sudo alternatives --install /usr/bin/go go /usr/lib/go/bin/go 5
sudo alternatives --config go

Author: Harshvardhan Malpani

PHP Developer based in New Delhi, India. Working as a freelance web developer providing server deployment, website development and maintenance services.

Leave a Reply

Your email address will not be published. Required fields are marked *