Browse Source

readme: added apt cmd to install dependencies

Fabian Peter Hammerle 3 years ago
parent
commit
72e2bde484
1 changed files with 5 additions and 0 deletions
  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