2-3: Install Pocket
Now we're ready to install the Pocket software. We'll be installing Pocket Core which, as mentioned, was developed in Go. So it requires the Go compiler, but that was installed with Go in the previous step.
To install Pocket Core, do the following:
- Create a project directorysudo mkdir -p $GOPATH/src/github.com/pokt-network
- CD to the project directorycd $GOPATH/src/github.com/pokt-network
- Get the Pocket Core codesudo git clone https://github.com/pokt-network/pocket-core.git
- CD to the code directorycd pocket-core
- Checkout the latest versionsudo git checkout tags/RC-0.7.1
- Build project codego build -o $GOPATH/bin/pocket $GOPATH/src/github.com/pokt-network/pocket-core/app/cmd/pocket_core/main.go
- Test the installationpocket version
At this point we have all the software we need to run our Pocket node. But we'll need to configure it first. We'll start that next.