Unfortunatly, meanwhile I was trying to get the latest solidity version, i deleted the /usr/bin/solc folder, and now I can non longer run any script (i.e. solc --version or --help)

Can someone help me? Thank you

I already tried to re install via npm install -g solc

And also other methods, but I always get that I'm up to date, nothing to update...


1 Answer 1


/usr/bin/solc is a normal UNIX binary in a normal path.

You installed solc somehow and you can get this binary again by simply reinstalling.

  • Thank you for your answer, Unfortunately even if i re-install solc, the usr/bin/solc is still missing.
    – Marco9631
    Commented Apr 11 at 22:50
  • Please edit the question and explain how do you reinstall. Commented Apr 11 at 22:57
  • 1
    Done, i edited the question
    – Marco9631
    Commented Apr 11 at 23:05
  • 1
    After a new installation and a reboot I was able to run solc again. Thank you.
    – Marco9631
    Commented Apr 12 at 8:32

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.