doc: different ways to add line into sources.list
@@ -27,14 +27,23 @@ Kai-Uwe Behrmann kindly provides packages [for download](http://software.opensus
### Debian
-To use the debian repository of the latest builds from master put following files in
-`/etc/apt/sources.list`.
+To use the debian repository of the latest builds from master put following lines in
+`/etc/apt/sources.list`:
For Stretch:
deb [trusted=yes] https://debian-stretch-repo.libelektra.org/ stretch main
deb-src [trusted=yes] https://debian-stretch-repo.libelektra.org/ stretch main
+Which can also be done using:
+
+ echo "deb [trusted=yes] https://debian-stretch-repo.libelektra.org/ stretch main" | sudo tee /etc/apt/sources.list.d/elektra.list
+
+Or alternatively, you can use (if you do not mind many dependences just to add one line to a config file):
+
+ sudo apt-get install software-properties-common apt-transport-https
+ sudo add-apt-repository "deb [trusted=yes] https://debian-stretch-repo.libelektra.org/ stretch main"
+
For Jessie:
deb [trusted=yes] https://debian-stable.libelektra.org/elektra-stable/ jessie main
