title: What is the corre
body: <p>A YouTube video on the go language uses the example of getting the aws package from github. It suggests the command:</p>
  <pre><code>go get github.com/aws/aws-sdk-go/aws
  </code></pre>
  <p>This produces the error message:</p>
  <pre><code>package github.com/aws/aws-sdk-go/aws: cannot download, /home/anna_user2/go is a GOROOT, not a GOPATH. For more details see: 'go help gopath'
  </code></pre>
  <p>I don't know what this means. &quot;Go help gopath&quot; produces a lot of informattion that I don't understand. The output of my go env command is</p>
  <pre><code>GO111MODULE=&quot;&quot;
  GOARCH=&quot;amd64&quot;
  GOBIN=&quot;&quot;
  GOCACHE=&quot;/home/anna_user2/.cache/go-build&quot;
  GOENV=&quot;/home/anna_user2/.config/go/env&quot;
  GOEXE=&quot;&quot;
  GOFLAGS=&quot;&quot;
  GOHOSTARCH=&quot;amd64&quot;
  GOHOSTOS=&quot;linux&quot;
  GOINSECURE=&quot;&quot;
  GOMODCACHE=&quot;/home/anna_user2/go/pkg/mod&quot;
  GONOPROXY=&quot;&quot;
  GONOSUMDB=&quot;&quot;
  GOOS=&quot;linux&quot;
  GOPATH=&quot;/home/anna_user2/go&quot;
  GOPRIVATE=&quot;&quot;
  GOPROXY=&quot;https://proxy.golang.org,direct&quot;
  GOROOT=&quot;/usr/local/go&quot;
  GOSUMDB=&quot;sum.golang.org&quot;
  GOTMPDIR=&quot;&quot;
  GOTOOLDIR=&quot;/usr/local/go/pkg/tool/linux_amd64&quot;
  GCCGO=&quot;gccgo&quot;
  AR=&quot;ar&quot;
  CC=&quot;gcc&quot;
  CXX=&quot;g++&quot;
  CGO_ENABLED=&quot;1&quot;
  GOMOD=&quot;&quot;
  CGO_CFLAGS=&quot;-g -O2&quot;
  CGO_CPPFLAGS=&quot;&quot;
  CGO_CXXFLAGS=&quot;-g -O2&quot;
  CGO_FFLAGS=&quot;-g -O2&quot;
  CGO_LDFLAGS=&quot;-g -O2&quot;
  PKG_CONFIG=&quot;pkg-config&quot;
  GOGCCFLAGS=&quot;-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build642243507=/tmp/go-build -gno-record-gcc-switches&quot;
  </code></pre>