I installed bitcoind on my ubuntu server awhile ago. How do I go about uninstalling it properly? Do i just delete the ~/.bitcoin folder?

3 Answers 3


If you installed with a deb package, you can use apt-get to remove it:

sudo apt-get remove bitcoind
  • What if you installed according to the instructions?
    – unixb0y
    Apr 29, 2021 at 16:16

you will unistall bitcoin and the related folder by running the fellowing commands

rm -rf ~/.bitcoin

sudo apt-get remove bitcoind

sudo apt autoremove

That will remove your wallet.dat, bitcoin.conf and all the blockchain info, but you will also want to remove the bitcoin directory which was also downloaded and if you added bitcoind to your path you'l want to remove that as well.

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.