2014-11-30 16:55:10 -05:00
### Build Dependencies
2014-12-04 04:18:26 -05:00
This installation document assumes Ubuntu 12.04 or later on x86-64.
2014-11-30 16:55:10 -05:00
2014-12-04 04:56:01 -05:00
##### Install Git and GCC
```sh
$ sudo apt-get install git build-essential
```
##### Install Mercurial
```sh
$ sudo apt-get install mercurial
```
2014-12-04 04:18:26 -05:00
##### Install YASM
2014-11-30 16:55:10 -05:00
```sh
$ sudo apt-get install yasm
```
2014-12-04 04:18:26 -05:00
##### Install Go 1.3+
Download Go 1.3+ from [https://golang.org/dl/ ](https://golang.org/dl/ ) and extract it into ``${HOME}/local`` and setup ``${HOME}/mygo`` as your project workspace folder.
For example:
2014-11-30 16:55:10 -05:00
```sh
2014-12-20 11:56:21 -05:00
$ wget https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz
2014-12-02 16:14:24 -05:00
$ mkdir -p ${HOME}/local
2014-12-20 11:56:21 -05:00
$ tar -C ${HOME}/local -xzf go1.4.linux-amd64.tar.gz
2014-12-02 16:14:24 -05:00
$ export PATH=$PATH:${HOME}/local/go/bin
$ mkdir -p $HOME/mygo
2014-11-30 16:55:10 -05:00
$ export GOPATH=$HOME/mygo
$ export PATH=$PATH:$GOPATH/bin
```