Articles Hierarchy

Articles Home » web 2.0 » RPI webserver GoTTY / GoLang

RPI webserver GoTTY / GoLang

to play i just got a idea.. follow it up in browser,
dig deeper on how to do it on Raspberry Pi

so i see
and to test it,
it suggests here to have the Go language installed
a check
apt policy golang
shows, its not installed

links about install info:
Link , Link , Link
so i check
here and try
cd Downloads
sudo tar -C /usr/local -xzf go1.16.3.linux-armv6l.tar.gz
rm go1.16.3.linux-armv6l.tar.gz
nano ~/.bashrc
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin

sudo reboot

pi@RPI4:~ $ go version
go version go1.16.3 linux/arm
pi@RPI4:~ $

i will play with it later, first try this

mkdir go
cd go

pi@RPI4:~/go $ go get
go: downloading v1.0.1
go: downloading v0.0.0-20160418043613-82a8879fc5fd
go: downloading v1.1.0
go: downloading v1.22.5
go: downloading v1.0.1
go: downloading v1.4.2
go: downloading v1.1.8
go: downloading v0.0.0-20151013225006-5fa2393b3552
go: downloading v0.0.0-20150817080136-18216d265c6b
go get: updating to parsing go.mod:
module declares its path as:
but was required as:
pi@RPI4:~/go $
possibly try last release?