11

I'm trying to install a solidity compiler on my Mac. I've followed the guide here: https://github.com/ethereum/go-ethereum/wiki/Contract-Tutorial

The error that I've gotten when installing ccp-ethereum is "Error: No formulae found in taps."

zhongqin-imac:~ ngzhongqin$ brew install cpp-ethereum
Error: No available formula with the name "cpp-ethereum" 
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
Error: No formulae found in taps.
Ng Zhong Qin
  • 305
  • 1
  • 2
  • 7

1 Answers1

31

From Solidity - Binary Packages:

brew update
brew upgrade
brew tap ethereum/ethereum
brew install solidity
BokkyPooBah
  • 40,274
  • 14
  • 123
  • 193
  • This worked great. Minor comment, on the last line I got Warning: brew linkapps has been deprecated and will eventually be removed! -- but it worked fine for me without this. – Harlan T Wood Apr 11 '17 at 21:03
  • 3
    If you need a specific version, then you'll need to find the specific commit corresponding to your version of this file: https://github.com/ethereum/homebrew-ethereum/commits/master/solidity.rb then get the raw URL, and run brew install https://raw.githubusercontent.com/ethereum/homebrew-ethereum/de1da16f7972a899fc8dd1f3f04299eced6f4312/solidity.rb – maurelian Nov 23 '17 at 15:46
  • 1
    brew linkapps is deprecated – Rexcirus Oct 10 '18 at 10:56
  • @Rexcirus Removed brew linkapps – BokkyPooBah Oct 11 '18 at 12:51