Download go
============
wget
Remove old package
===================
rm -rf /usr/local/go
Extract the file
================
tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
Add variables
==============
nano /root/.bashrc
# go variables
export GOPATH=/root/go-workspace
export GOROOT=/usr/local/go
PATH=$PATH:$GOROOT/bin/:$GOPATH/bin
Update bashrc
==============
source /root/.bashrc
Install Required Package
======================
apt install -y make
Optional
==========
GO111MODULE=on go mod vendor
Verify Installation
====================
go version
Watch video Install Go on Ubuntu Server online without registration, duration 01 minute 30 second in high hd quality. This video was added by user Ripon4You 20 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1 thousand once and liked it people.