Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 640 Bytes

README.01-geth.md

File metadata and controls

25 lines (22 loc) · 640 Bytes

Geth

Install Geth Dependencies

Download latest go package from the offical Go repository and uncompress it to /usr/local

$ sudo tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz

Add the following lines to the end of $HOME/.profile

# add Go paths
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH

Build Geth and Swarm

$ git clone https://github.com/ethereum/go-ethereum.git
$ cd go-ethereum
$ git checkout v$LATEST_STABLE_RELEASE
$ make geth
$ make swarm
$ sudo cp build/bin/geth /usr/local/bin/geth
$ sudo cp build/bin/swarm /usr/local/bin/swarm