Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Last active August 12, 2019 19:40
Show Gist options
  • Save diegopacheco/9bed0827e434abae73c4 to your computer and use it in GitHub Desktop.
Save diegopacheco/9bed0827e434abae73c4 to your computer and use it in GitHub Desktop.

Revisions

  1. diegopacheco revised this gist Oct 26, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion go-install.md
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,8 @@ export PATH=$PATH:$GOROOT/bin
    export GOPATH=/home/ec2-user/
    export PATH=$GOPATH/bin:$PATH
    export GOBIN=/home/ec2-user/go-14/bin/
    ```
    ```

    #### Eclipse Plugin?

    https://github.com/GoClipse/goclipse
  2. diegopacheco revised this gist Oct 26, 2015. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion go-install.md
    Original file line number Diff line number Diff line change
    @@ -15,5 +15,9 @@ gotour

    #### Add system vars on ~/.bashrc
    ```bash

    export GOROOT=/home/ec2-user/go-14
    export PATH=$PATH:$GOROOT/bin
    export GOPATH=/home/ec2-user/
    export PATH=$GOPATH/bin:$PATH
    export GOBIN=/home/ec2-user/go-14/bin/
    ```
  3. diegopacheco revised this gist Oct 26, 2015. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions go-install.md
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,9 @@ export GOPATH=~/golang/
    export PATH=$GOPATH/bin:$PATH
    go get code.google.com/p/go-tour/gotour
    gotour
    ```

    #### Add system vars on ~/.bashrc
    ```bash

    ```
  4. diegopacheco revised this gist Oct 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion go-install.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # How to Install GO Lang on CentOS / Amazon Linux?
    #### How to Install GO Lang on CentOS / Amazon Linux?

    ```bash
    sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
  5. diegopacheco renamed this gist Sep 19, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. diegopacheco revised this gist Sep 19, 2015. 1 changed file with 14 additions and 10 deletions.
    24 changes: 14 additions & 10 deletions go-install.cmd
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,14 @@
    $ sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz <BR>
    $ tar -xzf go1.4.2.linux-amd64.tar.gz <BR>
    $ export GOROOT=PATH_WHERE_YOU_EXTRACT_GO <BR>
    $ export PATH=$PATH:$GOROOT/bin <BR>
    $ export GOBIN=$GOROOT/bin <BR>
    $ mkdir ~/golang/ <BR>
    $ export GOPATH=~/golang/ <BR>
    $ export PATH=$GOPATH/bin:$PATH <BR>
    $ go get code.google.com/p/go-tour/gotour
    $ gotour <BR>
    # How to Install GO Lang on CentOS / Amazon Linux?

    ```bash
    sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz
    tar -xzf go1.4.2.linux-amd64.tar.gz
    export GOROOT=PATH_WHERE_YOU_EXTRACT_GO
    export PATH=$PATH:$GOROOT/bin
    export GOBIN=$GOROOT/bin
    mkdir ~/golang/
    export GOPATH=~/golang/
    export PATH=$GOPATH/bin:$PATH
    go get code.google.com/p/go-tour/gotour
    gotour
    ```
  7. diegopacheco revised this gist Sep 7, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion go-install.cmd
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,9 @@ $ sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz <BR
    $ tar -xzf go1.4.2.linux-amd64.tar.gz <BR>
    $ export GOROOT=PATH_WHERE_YOU_EXTRACT_GO <BR>
    $ export PATH=$PATH:$GOROOT/bin <BR>
    $ export GOBIN=$GOROOT/bin <BR>
    $ mkdir ~/golang/ <BR>
    $ export GOPATH=~/golang/ <BR>
    $ export PATH=$GOPATH/bin:$PATH <BR>
    $ go get code.google.com/p/go-tour/gotour
    $ go get code.google.com/p/go-tour/gotour
    $ gotour <BR>
  8. diegopacheco created this gist Sep 7, 2015.
    8 changes: 8 additions & 0 deletions go-install.cmd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    $ sudo wget https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz <BR>
    $ tar -xzf go1.4.2.linux-amd64.tar.gz <BR>
    $ export GOROOT=PATH_WHERE_YOU_EXTRACT_GO <BR>
    $ export PATH=$PATH:$GOROOT/bin <BR>
    $ mkdir ~/golang/ <BR>
    $ export GOPATH=~/golang/ <BR>
    $ export PATH=$GOPATH/bin:$PATH <BR>
    $ go get code.google.com/p/go-tour/gotour