Last active
July 11, 2024 14:57
-
-
Save narfel/035944cbf8475b29621a7a5dff00d97f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's been a while since this gist was written. In the meantime the package homeassistant-supervised apt | |
package was introduced for debian based systems. If you used that way the first thing you should do use | |
the normal package uninstaller with something like: (sudo) apt remove homeassistant-supervised | |
If for some reason that doesn't work proceed with the below instructions for a manual cleanup. | |
1) stop services: | |
sudo systemctl stop hassio-supervisor.service | |
sudo systemctl stop hassio-apparmor.service | |
2) disable services: | |
sudo systemctl disable hassio-supervisor.service | |
sudo systemctl disable hassio-apparmor.service | |
3) remove services: | |
sudo rm -rf /etc/systemd/system/hassio-supervisor.service | |
sudo rm -rf /etc/systemd/system/hassio-apparmor.service | |
4) removing folders: | |
sudo rm -rf /usr/sbin/hassio-supervisor | |
sudo rm -rf /usr/sbin/hassio-apparmor | |
5) remove containers/images |
This is what I did to remove Home Assistant 2023 Core from my system:
sudo systemctl stop hass.service
sudo systemctl disable hass.service
sudo rm -rf /etc/systemd/system/multi-user.target.wants/hass.service
sudo userdel -r homeassistant
sudo rm -rf /srv/homeassistant
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
added sudo and it removed some additional dependencies: