浏览代码

readme: added apt cmd to install dependencies

Fabian Peter Hammerle 3 年之前
父节点
当前提交
72e2bde484
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      README.md

+ 5 - 0
README.md

@@ -15,6 +15,11 @@ $ pip3 install --user --upgrade systemctl-mqtt
 $ systemctl-mqtt --mqtt-host HOSTNAME_OR_IP_ADDRESS
 ```
 
+On debian-based systems, dependencies can optionally be installed via:
+```sh
+$ sudo apt-get install --no-install-recommends python3-dbus python3-paho-mqtt
+```
+
 Schedule poweroff by sending a MQTT message to topic `systemctl/hostname/poweroff`.
 
 ```sh