I recently installed Bitcoin Core on my Ubuntu 16.04 system. It's taking up too much disk space. How do I completely uninstall the software and remove data to free up my hard drive space?
Asked
Active
Viewed 1.4k times
6
-
Did you install debs from a PPA or maybe compile from source ? Could you provide the output of : dpkg -l | grep bitcoin ? – albert j Jan 22 '17 at 20:58
2 Answers
6
Remove bitcoin:
sudo apt-get remove bitcoind
Alternatively, you could just disable bitcoind from starting at startup:
sudo systemctl disable bitcoind
Remove extra files:
If you remove your .bitcoin directory, you are removing your wallets/addresses and access to any BTC in those wallets, as well as the blockchain history.
When you run bitcoind, it typically creates a .bitcoin directory in the home directory of the running user. Depending on your setup, this could be a user named bitcoin, or be your user.
rm -rf /path/to/.bitcoind/
If you're not sure where this path is, you could run the following commands to help find it:
sudo updatedbsudo locate .bitcoind
More specifically, the blocks take up a lot of space and are found in .bitcoind/blocks/.
earthmeLon
- 11,042
- 1
- 36
- 60