If you use openSUSE Linux you can install packaged version of Loki with:
1) Add the repository `https://download.opensuse.org/repositories/security:/logging/` to your system.
E.g if you are using Leap 15.1 use `sudo zypper ar https://download.opensuse.org/repositories/security:/logging/openSUSE_Leap_15.1/security:logging.repo ; sudo zypper ref`
2) Install package with `zypper in loki`
3) Enable services:
- `systemd start loki` and `systemd enable loki`
- `systemd start promtail` and `systemd enable promtail`