Questions tagged [golang]

Questions relating to Google's Go Programming Language project.

Go, also known as golang, is a programming language initially developed at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.

It is a statically-typed language with syntax loosely derived from that of C, adding garbage collected memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. It is heavily influenced by C, Limbo, Modula, Newsqueak, Oberon, Pascal & Python.

69 questions
31
votes
7 answers

command 'go' not found

This is not a programming question. I have a machine running Ubuntu, and I installed Golang on it. It was working fine... I even ran a few programs, but the "go1.11.2.linux-amd64.tar.gz" file was in my home directory so I thought it would be okay to…
richie
  • 415
  • 1
  • 5
  • 9
3
votes
1 answer

How to install specific version of Go in Ubuntu using snap

I am trying to install Go version 1.16 using a snap package, but not able to. Instead I am getting newer versions. How can I install version 1.16 regardless of what version is currently available?
Vimal
  • 41
0
votes
0 answers

dpkg: error processing archive /var/cache/apt/archives/golang-1.6-go_1.6.2-0ubuntu5~16.04.2_amd64.deb (--unpack):

When I am running sudo apt-get -f install, it shows dpkg: error processing. Please find the complete logs below and advise how to solve this. I am running VB 5.0.10 with Ubuntu 16.04 and already installed go 1.8 and its working fine Reading…
JosephCenk
  • 103
  • 1
  • 3
0
votes
1 answer

Installing Go 16.6 on Ubuntu 20.4

I used the following code to download and install the latest Go version wget -c https://dl.google.com/go/go1.16.6.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local Everything seemed to have gone alright, however, when I try to verify the…
Zimex
  • 39
-1
votes
1 answer

#golang Starting go run

Every time I start my PC, Go is automatically inactive, so I have to extract it every day. What I should do with that problem? I want Go to work constantly.