Thanks bob123, the direct download worked at the end:
So I've just managed to install the necessary GO languange on the Raspberry PI, using these guides (had to combine them to get it to work, but at last it works...)
https://tecadmin.net/install-go-on-debian/#https://stackoverflow.com/questions/48348262/install-go-golang-on-raspbianTo make it easier for you, here are the steps:
1)
sudo apt-get update
sudo apt-get -y upgrade
2)
wget https://dl.google.com/go/go1.10.linux-armv6l.tar.gz
make sure you download the arm version for the Raspberry
3)
install an old version of GO
sudo apt-get install golang
this will install the 1.7 version, which is not good for us yet
4)
Uncompress the previously downloaded 1.10 version into your (pi) home directory
sudo tar -C /home/pi -xzf go1.10.linux-armv6l.tar.gz
5)
remove the old golang installation
sudo apt remove golang
remove the other unnecessary stuff after removing the old golang
sudo apt-get autoremove
6)
edit your .profile
insert these lines to let the system found your go language installation
export GOROOT=/home/pi/go
export GOPATH=$HOME/projects
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
7)
log out and log in again
check the version and the environment of your installed GO, should look like this:
go version
go version go1.10 linux/arm
go env
GOARCH="arm"
GOBIN=""
GOCACHE="/home/pi/.cache/go-build"
GOEXE=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/pi/projects"
GORACE=""
GOROOT="/home/pi/go"
GOTMPDIR=""
GOTOOLDIR="/home/pi/go/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="6"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-b uild470418061=/tmp/go-build -gno-record-gcc-switches"
That's all
Now moving towards to lnd installation...
Just another tip:
If you're on a fresh installation of Raspbian, you won't have the 'git' to use the golang's built-in downloader part, to be able to install Glide, which is also necessary.
So to get this command working:
go get -u github.com/Masterminds/glide
you will need this:
sudo apt-get install git
After this, you can start downloading Glide with the above mentioned command
When it's done, you'll find Glide in the GOPATH/bin