I am learning Ethereum Development from the Ethereum Book by Andreas. I have stumbled on the first error trying to do $ cargo install . I will post the instructions as an image and the errors I got.

Instruction from the Ethereum Book

When I try $ cargo install it first gave me a warning which is will also display below

Warning Message

The command does some compiling and then gives me the following error

Error Message

I cant really proceed since all the other commands that follow are nolonger working. Please assist if there is anything I did wrong. I am really new to this. I am not a pro-developer but working towards becoming a solidity dev.

I will really appreciate your help

  • Without knowing anything about the instructions in general, I'd guess that they are outdated. You are retrieving the latest code version from github but the instructions may not work with the latest version anymore. Things move and change fast around Ethereum. Feb 19, 2019 at 8:47
  • Yes I noticed that things are changing alot man. Sad thing I cant find anywhere were there are updated sources. Thanks! Feb 19, 2019 at 8:53
  • run beforhand an apt-get update
    – Badr Bellaj
    Jul 26, 2019 at 22:17
  • Please never paste screenshots of your errors. Always copy and paste the text. It makes your question impossible to be searchable, and even harder to fix. Could you please edit your question and add the text of the error? Jul 22, 2020 at 21:56

2 Answers 2


You need to install cmake. Try running the following to install parity dependencies:

apt-get install build-essential cmake libudev-dev
  • Looks like they are using a mac not linux Jul 22, 2020 at 21:57

When working with rust/cargo, make sure you have the dependencies installed. You can see your error even makes the suggestion:

is 'cmake' not installed?

Rust generally gives good tips as to what's going on. Be sure to read the full error as well next time.

You can either try running: brew install cmake or check the download page: https://cmake.org/install/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.