首页 > 系统服务 > 详细

基于Ubuntu系统搭建以太坊go-ethereum源码的开发环境

时间:2017-08-18 13:12:48      阅读:1476      评论:3      收藏:0      [点我收藏+]

第一、先安装geth的CLI环境sudo apt-get install geth,这个很重要

第二、下载源代码

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

我下载到啦 /home/siegel/ethereum/

更改文件夹权限为可写  chmod -R 777 /home/siegel/ethereum/go-ethereum

    第三步

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
然后输入 geth --help 看是否安装成功

第四步
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
第五步
cd /home/siegel/ethereum/go-ethereum
make geth



基于Ubuntu系统搭建以太坊go-ethereum源码的开发环境

原文:http://www.cnblogs.com/Siegel/p/7389011.html

(2)
(2)
   
举报
评论 一句话评论(1
2018-06-19 13:40:10
真牛。安利个以太坊dapp教程:http://xc.hubwiz.com/course/5a952991adb3847553d205d1?affid=619bubuko
回复
 (4)
 (2)
1条  
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!