0

How can I get the current latest version of Synchthing on Raspberry Pi without building from source?

I'm running Raspberry OS on a Raspberry Pi 4 and everything is recently updated. Running:

$ apt search syncthing

Gives me

syncthing/stable 1.0.0~ds1-1 armhf
    decentralized file synchronization

Latest version of syncthing is v1.16.1 according to https://syncthing.net/

I know I can download the sources and build the binaries, but I would much rather install an up-to-date version using the packet manager.

There is an instruction to add apt sources for syncthing here https://apt.syncthing.net. But they never mention CPU architecture. I notice that where it normally says "buster main" or "buster stable" in my sources.list files, this one says "syncthing stable". Will these instructions work for raspbian buster armhf (ARMv7)?

1

Ok, so I tried the instructions for debian/ubuntu apt install at https://apt.syncthing.net and that worked. There is support for armhf architecture.

Just follow the instruction to install the gpg key and then add syncthing to the apt sources. Do an apt update. After that an apt search will show an up-to-date version (notice the armhf) and the install works normally.

$ apt search syncthing

syncthing/syncthing,now 1.16.1 armhf
  Open Source Continuous File Synchronization


$ sudo apt install syncthing

I also got it working with systemd, but those files are not included in the installation as I understand it. You have to get those files/info from the GitHub repository: https://github.com/syncthing/syncthing/tree/main/etc/linux-systemd

1
  • Don't forget to mark your answer as accepted otherwise the system will think it isn't answered :) – Unsigned_Arduino May 29 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.