<p>If you installed with a <code>deb</code> package, you can use apt-get to remove it:</p>

<pre><code>sudo apt-get remove bitcoind
</code></pre>

CC BY-SA 4.0
2021-04-29T16:16:30.563Z
What if you installed according to the instructions?
unixb0y
CC BY-SA 3.0
2013-11-12T01:15:17.760Z
2013-11-12T01:15:17.760Z
Colin Dean
<p>you will unistall bitcoin and the related folder by running the fellowing commands </p>

<pre><code>rm -rf ~/.bitcoin

sudo apt-get remove bitcoind

sudo apt autoremove
</code></pre>

CC BY-SA 3.0
2017-10-10T21:07:50.477Z
2017-10-10T21:07:50.477Z
Badr Bellaj
<p>That will remove your <code>wallet.dat</code>, <code>bitcoin.conf</code> and all the <code>blockchain</code> info, but you will also want to remove the <code>bitcoin</code> directory which was also downloaded and if you added <code>bitcoind</code> to your path you'l want to remove that as well. </p>

CC BY-SA 3.0
2013-11-11T19:31:01.470Z
2013-11-11T19:31:01.470Z
Loourr
<p>I installed bitcoind on my ubuntu server awhile ago. How do I go about uninstalling it properly? Do i just delete the ~/.bitcoin folder?</p>

<bitcoind><linux>
How to uninstall Bitcoind from ubuntu server?
Patoshi パトシ
# How to uninstall Bitcoind from ubuntu server?

(Asked by: username_0 on 2013-11-11)

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

**Tags:** bitcoind, linux


---

## 3 answers

### Answer by username_1 on 2013-11-12. Score: 2 | Accepted answer

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

> **Comments:**
> **username_2**: What if you installed according to the instructions?  

---

### Answer by username_3 on 2017-10-10. Score: 1

you will unistall bitcoin and the related folder by running the fellowing commands 
rm -rf ~/.bitcoin

sudo apt-get remove bitcoind

sudo apt autoremove


---

### Answer by username_4 on 2013-11-11. Score: 0

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.


---

