From 9bd5388862118ce8467390ca55296fac71ed4b9d Mon Sep 17 00:00:00 2001 From: Jan Jastrow Date: Sun, 11 Aug 2024 00:19:55 +0200 Subject: [PATCH] install syncthing debian/ubuntu --- scripts/install-syncthing-debian.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/install-syncthing-debian.sh diff --git a/scripts/install-syncthing-debian.sh b/scripts/install-syncthing-debian.sh new file mode 100755 index 0000000..1a534e0 --- /dev/null +++ b/scripts/install-syncthing-debian.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# Add the release PGP keys: +sudo mkdir -p /etc/apt/keyrings +sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg + +# Add the "stable" channel to your APT sources: +echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list + +# Update and install syncthing: +sudo apt-get update +sudo apt-get install syncthing \ No newline at end of file