-
Notifications
You must be signed in to change notification settings - Fork 82
Capstan Installation
Don Marti edited this page May 20, 2014
·
10 revisions
On Mac OS
- Install required packages
$ brew install go qemu git
- Setup environment variable
$ echo 'export GOPATH=$HOME/go' >> $HOME/.profile
$ echo 'export PATH=$PATH:$GOPATH/bin' >> $HOME/.profile
$ source $HOME/.profile
- Install capstan
$ go get github.com/cloudius-systems/capstan
On Linux
- 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:
- 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
- Install capstan
$ go get github.com/cloudius-systems/capstan
On Windows
This short video (4:48) describes installation on Windows 8.1:
- Download Git.
http://git-scm.com/download/win
-
Install Git, using the "Use Git from the Windows Command Prompt" option.
-
Download the Go Programming Language.
-
Install the Go Programming Language.
-
Download VirtualBox.
https://www.virtualbox.org/wiki/Downloads
-
Install VirtualBox.
-
Open Control Panel. Select "System and Security" -> "System" -> "Advanced system settings" -> "Environment Variables".
-
Select New on "User variables". Enter the following values:
Variable name: Path
Variable value: %USERPROFILE%\Go\bin;C:\Program Files\Oracle\VirtualBox
- Select New on "User variables" again. Enter the following values:
Variable name: GOPATH
Variable value: %USERPROFILE%\Go
- Open Command Prompt, and run the following command:
go get github.com/cloudius-systems/capstan
This will install Capstan. When it's finished, Capstan is ready to run.