Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.19 KB

geth_install.md

File metadata and controls

27 lines (23 loc) · 1.19 KB

Install Geth

[ Intro ] -- [ Set Up RasPi ] -- [ Install Go ] -- [ Install Geth ] -- [ Run Geth ] -- [ FAQ ] -- [ Updates ]


Build Geth from source code

Since we already have Go installed, we can easily bulid Geth by running the following commands:

  • Download the project. Also checkout the default version of Go Ethereum into local GOPATH work space
    $ go get -d github.com/ethereum/go-ethereum
  • Build executables
    $ go install github.com/ethereum/go-ethereum/cmd/geth

Alternative method --- Install via PPAs (not recommended)

Alternatively, you can install Geth directly via PPAs (Personal Package Archives)

  • Enable Go Ethereum launchpad repository
    $ sudo add-apt-repository -y ppa:ethereum/ethereum
  • Install stable version of Go Ethereum
    $ sudo apt-get update
    $ sudo apt-get install ethereum
    or the unstable version if you wish to
    $ sudo apt-get update
    $ sudo apt-get install ethereum-unstable

Test if Geth is correctly installed and working

  • $ sudo su
  • $ geth version
    1

Next: Run Geth >>