• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ethereum/homebrew-ethereum: Homebrew Tap for Ethereum

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ethereum/homebrew-ethereum

开源软件地址:

https://github.com/ethereum/homebrew-ethereum

开源编程语言:

Ruby 100.0%

开源软件介绍:

homebrew-ethereum

Homebrew Tap for Ethereum

Important note: reporting issues with any of these brews should be done at their respective repositories (Go client and Solidity).

Installation

brew tap ethereum/ethereum

Go client

brew install ethereum

Solidity

To install the latest release:

brew install solidity

To install the latest 0.7.x release:

brew install solidity@7

To install the latest 0.6.x release:

brew install solidity@6

To install the latest 0.5.x release:

brew install solidity@5

To install the latest 0.4.x release:

brew install solidity@4

Note: the older releases are not maintained indefinitely, but are provided as a convenience.

Running

Go client

geth

Solidity

solc

Development

Get the latest development version with the --devel flag.

Go client

brew reinstall ethereum --devel

Current branches

Go:

  • --devel is on develop branch
  • normal install is on master branch

Upgrading

brew update && brew upgrade

Minor updates

Go client

brew update && brew reinstall ethereum

Versions

List available versions with:

ls -l /usr/local/Cellar/ethereum

If you have other versions installed, you can switch with:

brew switch ethereum <version>

Or follow this StackOverflow answer

These brews can be installed via the raw GitHub URLs, or by cloning this repository locally with brew tap ethereum/ethereum. You can also install binary bottles directly with brew install <bottle_url>, see cpt-obvious for previous builds.

Troubleshooting

  • Use --verbose to get more info while installing.
  • Make sure to update XCode and the command line tools.
  • Run brew update and brew upgrade
  • Fix what the brew doctor says.
  • Reinstall dependencies: brew reinstall boost --c++11 --with-python
  • Make changes to /usr/local/Library/Taps/ethereum/homebrew-ethereum/ethereum.rb
  • Reinstall with brew reinstall ethereum.rb (send a pull request!)
  • Take a walk

Note that the ethereum keg exists in homebrew-core. It's not always up to date in homebrew-core and you might want to prioritise the version from this tap. To do this, you can pin this tap by running the following command:

brew tap-pin ethereum/ethereum

Patching

First cd /Library/Caches/Homebrew/ethereum--git/ and make your changes. Then git diff > shiny.patch, copy/paste the content of your patch under __END__ of ethereum.rb and replace the def patches block with:

def patches
  DATA
end

If you want to submit your change, save your patch in a gist, add your option 'shiny-option', 'Shiny description' and the URL to your gist in the patches block and submit a pull request. Make sure to send a pull request to Ethereum also!




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
smarthomefans/homebridge-docs-zh: homebridge 文档发布时间:2022-06-14
下一篇:
Homebrew/homebrew-services: 发布时间:2022-06-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap