minio/BUILDDEPS.md
2014-12-29 21:22:26 -08:00

748 B

Build Dependencies

This installation document assumes Ubuntu 12.04 or later on x86-64.

Install Git and GCC
$ sudo apt-get install git build-essential
Install YASM
$ sudo apt-get install yasm
Install Go 1.3+

Download Go 1.3+ from https://golang.org/dl/ and extract it into ${HOME}/local and setup ${HOME}/mygo as your project workspace folder. For example:

$ wget https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz
$ mkdir -p ${HOME}/local
$ tar -C ${HOME}/local -xzf go1.4.linux-amd64.tar.gz
$ export PATH=$PATH:${HOME}/local/go/bin
$ export GOROOT=${HOME}/local/go
$ mkdir -p $HOME/mygo
$ export GOPATH=$HOME/mygo
$ export PATH=$PATH:$GOPATH/bin