howtos

Install go-ethereum client

  1. Install go-lang latest version (original instructions):
cd ~/temp
wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz
rm -rf go1.10.linux-amd64.tar.gz
  1. Add go binary to PATH. To update ~/.bashrc file, run:
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
  1. Login and logout (or run source ~/.bashrc) so that changes propagate to PATH.

  2. Clone and build go-ethereum latest version:

cd ~
mkdir dev
cd dev
git clone https://github.com/ethereum/go-ethereum.git
cd go-ethereum
git checkout v1.8.2
make -j 2 geth
  1. Make a symbolic link to geth so that you can run it from anywhere (adjust the source path as necessary!):
sudo ln -s /home/ubuntu/dev/go-ethereum/build/bin/geth /usr/bin/geth

about these howtos

This howto is part of a larger collection of howtos maintained by the author (mostly for his own reference). The source code for the current howto in plain Markdown is available on GitHub. If you have a GitHub account, you can jump straight in, and suggest edits or improvements via the link at the bottom of the page (Improve this page).

made with ❤ by Valera Rozuvan