Skip to content

Capstan Installation

David M. Carr edited this page Apr 18, 2014 · 5 revisions

On Mac OS

  1. Install required packages
$ brew install go qemu git
  1. Setup environment variable
$ echo 'export GOPATH=$HOME/go'    >>  $HOME/.profile
$ echo 'export PATH=$PATH:$GOPATH/bin'  >> $HOME/.profile
$ source  $HOME/.profile
  1. Install capstan
$ go get github.com/cloudius-systems/capstan

On Linux

  1. Install required packages
$ wget http://go.googlecode.com/files/go1.2.1.linux-amd64.tar.gz
$ sudo tar -C /usr/local -xzf go1.2.1.linux-amd64.tar.gz
$ sudo yum install qemu-system-x86 git

Note: More go packages can be found here:

  1. Setup environment variable
$ echo 'export GOPATH=$HOME/go'  >>  $HOME/.profile
$ echo 'export PATH=$PATH:$GOPATH/bin:/usr/local/go/bin' >>  $HOME/.profile
$ source $HOME/.profile
  1. Install capstan
$ go get github.com/cloudius-systems/capstan
Clone this wiki locally