Skip to content

Capstan Installation

WALDEMAR KOZACZUK edited this page Dec 16, 2020 · 10 revisions

Binaries

Download and run Capstan for:

Sources

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
  1. Build capstan
go build

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
4) Build capstan

go build


**On Windows**

This short video (4:48) describes installation on Windows 8.1:

[![Install capstan on Windows 8.1 ](http://img.youtube.com/vi/-k7SlS-2Ank/0.jpg)](https://www.youtube.com/watch?v=-k7SlS-2Ank)

1) Download Git.

http://git-scm.com/download/win

2) Install Git, using the "Use Git from the Windows Command Prompt" option.

3) Download the Go Programming Language.

http://golang.org/doc/install

4) Install the Go Programming Language.

5) Download VirtualBox.

https://www.virtualbox.org/wiki/Downloads

6) Install VirtualBox.

7) Open Control Panel. Select "System and Security" -> "System" -> "Advanced system settings" -> "Environment Variables".

8) Select New on "User variables". Enter the following values:

Variable name: Path Variable value: %USERPROFILE%\Go\bin;C:\Program Files\Oracle\VirtualBox


9) Select New on "User variables" again. Enter the following values:

Variable name: GOPATH Variable value: %USERPROFILE%\Go


10) 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.
Clone this wiki locally