Skip to content

Instantly share code, notes, and snippets.

@narfel
Last active June 11, 2024 18:47
Show Gist options
  • Save narfel/035944cbf8475b29621a7a5dff00d97f to your computer and use it in GitHub Desktop.
Save narfel/035944cbf8475b29621a7a5dff00d97f to your computer and use it in GitHub Desktop.
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
@m93a
Copy link

m93a commented Mar 17, 2023

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