Linux

Linux 系统均可通过通用指令安装,各发行版有相应的特殊安装方法。

Arch Linux

sudo pacman -S python
sudo pacman -S python-pip
pacaur -S home-assistant

Fedora

sudo dnf -y install python3-devel redhat-rpm-config
sudo mkdir -p /opt/homeassistant
sudo chown -R user:group /opt/homeassistant
cd /opt/homeassistant
python3.6 -m venv .
source bin/activate
pip3 install homeassistant colorlog

CentOS/RHEL

yum install centos-release-scl
yum install rh-python35
scl enable rh-python35 bash