title: GOPATH environment variable not set
body: <p>I'm trying to install the Oracle Driver for Go (go-oci8) following these <a href="https://github.com/Centny/Centny/blob/master/Articles/How%20build%20github.com:mattn:go-oci8.md" rel="nofollow noreferrer">instructions</a></p>
  
  <p>The problem I'm facing is with the $GOPATH environment variable. 
  When I execute the command: </p>
  
  <p><code>sudo go get github.com/mattn/go-oci8</code></p>
  
  <p>I get the error : </p>
  
  <p><code>cannot download, $GOPATH not set. For more details see: go help gopath</code></p>
  
  <p>However, I have the GOPATH properly set. My environment looks like this:</p>
  
  <p><code>env | grep GO</code></p>
  
  <p><code>GOARCH=amd64</code><br>
  <code>GOROOT=/usr/local/go</code><br>
  <code>GOOS=linux</code><br>
  <code>GOPATH=/home/myuser/go/</code><br></p>
  
  <p><code>ls $GOPATH</code><br>
  <code>bin    pkg    src</code></p>
  
  <p>I've found a similar <a href="https://stackoverflow.com/questions/17872223/cannot-download-gopath-not-set">post</a> but the solution does not apply to my case.</p>