Installing Syncthing

I have Lakka installed on my Switch, and I would like to install Syncthing. I tried using apt-get through SSH, but got an error that apt-get was not available for LibreELEC. I asked on the LibreELEC forums for help, but was directed here.

Is there any way to install Syncthing? I see that there is a way to install it on LibreELEC, but all of the documentation I’m finding seems to be directed to using the KODI frontend.

This is pretty important for me so that I can sync my saves and ROMs, since I play on a few different platforms.

1 Like

I don’t know of any way to install additional software onto Lakka systems. I think if you need additional software you pretty much have to find a more general-purpose distro and just install RetroArch on top of it.

1 Like

Okay, I thought that since it was built on top of Linux that it would be possible. Thanks for clarifying.

No worries. Yeah, it’s linux, but it’s stripped down to just enough to run RetroArch, and then most of it is mounted read-only, so it’s very difficult to modify it at all.

3 Likes

Sorry for the necrobump. Hopefully a year’s not too long to leave this dormant.

I’m a big fan of Syncthing for all my life stuff, and also for my Retroarch stuff. I got inspired by this post and Lakka-LibreELEC #2004 to figure out how to get Syncthing working on Lakka, and I wrote up a HOWTO for the process on my disroot. I’ve tried to explain every step.

In short, it’s possible to install Syncthing on RasPi5 + Lakka 5.0. You will need a golang toolchain on a separate Linux “build host” machine (any architecture), SSH access from there to the Lakka “target host” device, and the ability to edit a couple of text files and run a couple of commands on the Lakka device after it’s deployed.

Syncthing is written in the Go language, which spits out static binaries and comes with a ton of cross-compilation options. Ideal for this role.

If you’re pushing to something other than an aarch64 target, you’ll need to pass in a different architecture at build time.

1 Like