-
Notifications
You must be signed in to change notification settings - Fork 35
Generic Linux Home Assistant Install
You can also install Home Assistant on a Linux operating system of choice, called Home Assistant Supervised. Home Assistant Supervised, will still give you access to most features Home Assistant has to offer, including add-ons.
To prepare your machine for the Home Assistant installation, run the following commands:
If you run Ubuntu, first run this command:
sudo add-apt-repository universe
Next run the following commands (for both Debian and Ubuntu):
sudo -i
apt-get update
apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat
systemctl disable ModemManager
systemctl stop ModemManager
curl -fsSL get.docker.com | sh
The following script will then install Home Assistant on a variety of operating systems and machine types.
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/c674830d8ddc6af9d618755a7995af939dd73fde/installer.sh" | bash -s
Some installation types require flags to identify the computer type, for example, when using a Raspberry Pi 4, the flag -- -m raspberrypi4
is required. The install script would then look like this:
curl -sL "https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh" | bash -s -- -m raspberrypi4
intel-nuc
raspberrypi
raspberrypi2
raspberrypi3
raspberrypi3-64
raspberrypi4
raspberrypi4-64
odroid-c2
odroid-n2
odroid-xu
tinker
qemuarm
qemuarm-64
qemux86
qemux86-64
If you can not find your machine type in the list, you should pick the qemu
release. i.e., qemux86-64
for a normal 64-bit Linux distribution, or qemuarm-64
for most modern ARM-based target like Raspberry Pi clones, or TV boxes.