I want to uninstall my geth, but I can't. How could I do it

Also, if I'd like to update my geth version, how could I do it?

Edit (added info according to the comment of @Ismael) I'm using Ubuntu 16. I installed it from PPA, executing these commands:

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
  • Which OS are you using? How did you installed geth? – Ismael Dec 14 '17 at 4:27

You can upgrade your client geth with normal debian/ubuntu commands

$ sudo apt-get update
$ sudo apt-get upgrade

To uninstall

$ sudo apt-get remove ethereum

To remove the ubuntu ppa (only do this after you have removed ethereum package)

$ sudo add-apt-repository --remove ppa:ethereum/ethereum

If you have run geth then you probably have $HOME/.ethereum and $HOME/.ethash directories with your keystore and blockchain data. If you used the wallet probably you want to make a backup of $HOME/.ethereum/keystore. If you no longer want to use ethereum in that machine you can remove both directories.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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