# Mycroft uninstall

**URL:** <https://community.openconversational.ai/t/mycroft-uninstall/7595>\
**Category:** Archive - Mycroft Project\
**Created:** [November 26, 2019, 4:01am UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595 "2019-11-26T04:01:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FruityWelsh](https://community.openconversational.ai/user_avatar/community.openconversational.ai/fruitywelsh/32/1744_2.png) [@FruityWelsh](https://community.openconversational.ai/u/FruityWelsh)\
**Post date:** [November 26, 2019, 4:01am UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/1 "2019-11-26T04:01:59Z")

</div>

Would a mycroft uninstall script be difficult?  
I was having some issues with an install, and wanted to uninstall everything done, but wasn’t sure what all needed to be removed.

This obviusly just for the dev\_setup not installs handled by packmanagers

Had to delete the following dirs:  
/opt/mycroft  
${HOME}/.mycroft  
${HOME}/mycroft-core  
/tmp/mycroft  
/var/tmp/mycroft\_web\_cache.json

You may have to delete:  
/etc/mycroft  
/var/lib/mycroft

``This seemed to work and the new install acted like a fresh one.  
is there anything missing in this (beside removing unused packages that were installed)?  
Is there better way to refresh the git repo rather than delete and git cloning again?

---

<div class="post-metadata">

**Author:** ![baconator](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@baconator](https://community.openconversational.ai/u/baconator)\
**Post date:** [November 26, 2019, 4:56am UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/2 "2019-11-26T04:56:18Z")

</div>

There’s sometimes /etc/mycroft, and /opt/mycroft.

---

<div class="post-metadata">

**Author:** ![FruityWelsh](https://community.openconversational.ai/user_avatar/community.openconversational.ai/fruitywelsh/32/1744_2.png) [@FruityWelsh](https://community.openconversational.ai/u/FruityWelsh)\
**Post date:** [November 26, 2019, 6:52am UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/3 "2019-11-26T06:52:00Z")

</div>

is that just on the “system” installs of mycroft?

---

<div class="post-metadata">

**Author:** ![baconator](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@baconator](https://community.openconversational.ai/u/baconator)\
**Post date:** [November 26, 2019, 6:03pm UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/4 "2019-11-26T18:03:54Z")

</div>

Might be worth a quick check if you’re scripting to be sure either way.

---

<div class="post-metadata">

**Author:** ![Dominik](https://community.openconversational.ai/user_avatar/community.openconversational.ai/dominik/32/1936_2.png) [@Dominik](https://community.openconversational.ai/u/Dominik)\
**Post date:** [November 26, 2019, 7:02pm UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/5 "2019-11-26T19:02:19Z")

</div>

Maybe you can to include `/var/log/mycroft` as well in order to delete the logfiles

---

<div class="post-metadata">

**Author:** ![forslund](https://community.openconversational.ai/user_avatar/community.openconversational.ai/forslund/32/172_2.png) [@forslund](https://community.openconversational.ai/u/forslund)\
**Post date:** [November 27, 2019, 10:43am UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/6 "2019-11-27T10:43:44Z")

</div>

There’s also the /var/tmp/mycroft\_web\_cache.json

Maybe a `./dev_setup.sh --clean` option doing this would be a good idea?

---

<div class="post-metadata">

**Author:** ![forslund](https://community.openconversational.ai/user_avatar/community.openconversational.ai/forslund/32/172_2.png) [@forslund](https://community.openconversational.ai/u/forslund)\
**Post date:** [November 28, 2019, 8:59am UTC](https://community.openconversational.ai/t/mycroft-uninstall/7595/7 "2019-11-28T08:59:48Z")

</div>

Created a [PR](https://github.com/MycroftAI/mycroft-core/pull/2401) for this flag on the mycroft-core repo.
