Development environment for building Ethereum Go-ethereum source code based on Ubuntu system

Source: Internet
Author: User
Tags git clone

First, install the Geth CLI environment firstsudo apt-get install geth,这个很重要

Second, download the source code

git clone https://github.com/ethereum/go-ethereum

I downloaded it to/home/siegel/ethereum/.

Change folder permissions to writable Chmod-r 777/home/siegel/ethereum/go-ethereum

Step Three

sudo apt-get install Software-properties-commonsudo add-apt-repository-y ppa:ethereum/ethereumsudo apt-get Updatesudo Apt-get Install Ethereum
Then enter Geth--help to see if the installation was successful

Fourth Step
git clone https://github.com/ethereum/go-ethereum

  curl -O https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz

  tar -C /usr/local -xzf go1.7.3.linux-amd64.tar.gz

Mkdir-p ~/go

Export Gopath= $HOME/go
Export path= $PATH: $HOME/go/bin:/usr/local/go/bin
sudo apt-get install-y build-essential Golang
Fifth Step
Cd/home/siegel/ethereum/go-ethereum
Make Geth



Development environment for building Ethereum Go-ethereum source code based on Ubuntu system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.