Ubuntu 26.04

Go : Install2026/06/17

 

Install Go Language.

[1] Install Go Language and try to run test app.
root@dlp:~#
apt -y install golang
root@dlp:~#
go version

go version go1.26.0 linux/amd64
# verify to create test program

root@dlp:~# cat > helloworld.go <<'EOF'
package main
import "fmt"
func main() {
    fmt.Println("Hello Go World !")
}
EOF 

root@dlp:~#
go run helloworld.go

Hello Go World !
# build and run

root@dlp:~#
go build helloworld.go

root@dlp:~#
./helloworld

Hello Go World !
Matched Content