Operating System Ubuntu

How to Install Resilio Sync (formerly BitTorrent Sync) on Ubuntu 26.04

BitTorrent Sync is now Resilio Sync. Install it on Ubuntu 26.04 or 24.04 from the vendor's APT repository, start the service and open the web UI through an SSH tunnel.

BitTorrent Sync is now distributed as Resilio Sync: the btsync package has been replaced by resilio-sync, which the vendor publishes in its own APT repository. At the end of this guide you will have Resilio Sync running as a system service on Ubuntu 26.04 LTS, a folder it is allowed to write to, and access to its web interface without exposing that interface to the internet. The same commands work on Ubuntu 24.04 LTS.

Resilio Sync is proprietary software. The vendor's installation guide states that version 3 is for personal, non-commercial use, and that Resilio Sync Business installations must stay on version 2 and must not be upgraded to version 3. Check which applies to you before you install.

Requirements

  • A server running Ubuntu 26.04 LTS or 24.04 LTS on a 64-bit Intel/AMD (amd64) or 64-bit ARM (arm64) CPU. The repository carries version 3 packages only for these two architectures.
  • A user with sudo rights. The examples use deploy and the server address 203.0.113.10.
  • An SSH client on your own computer, used to reach the web interface.

Older tutorials install BitTorrent Sync from a third-party PPA with a package named btsync. Do not use that route: the vendor package declares that it replaces btsync, and the vendor repository is the documented source today.

Add the Resilio repository

Register the repository:

echo "deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free" | sudo tee /etc/apt/sources.list.d/resilio-sync.list

Add the vendor's signing key. apt-key, which older instructions use, no longer exists on current Ubuntu releases; the key goes into /etc/apt/trusted.gpg.d/ instead:

sudo apt-get install -y wget
wget -qO- https://linux-packages.resilio.com/resilio-sync/key.asc | sudo tee /etc/apt/trusted.gpg.d/resilio-sync.asc > /dev/null

Install Resilio Sync

sudo apt-get update
sudo apt-get install resilio-sync

If apt-get update prints a notice that the repository does not support the i386 architecture, ignore it. The vendor documents this message as harmless.

The package installs a systemd unit named resilio-sync and runs the daemon as the unprivileged user rslsync. Enable it at boot and start it:

sudo systemctl enable resilio-sync
sudo systemctl start resilio-sync
systemctl status resilio-sync

Create a folder to sync

The daemon can only read and write where the rslsync user has permission. The simplest layout is a dedicated directory owned by that user:

sudo mkdir -p /srv/sync
sudo chown rslsync:rslsync /srv/sync

To sync a directory that belongs to your own account instead, the vendor's method is to put the two users in each other's groups and make the directory group-writable. For the user deploy and the directory /home/deploy/shared:

sudo usermod -aG deploy rslsync
sudo usermod -aG rslsync deploy
sudo chmod g+rw /home/deploy/shared
sudo systemctl restart resilio-sync

The rslsync user must also be able to enter every parent directory on the way to the folder. Ubuntu creates home directories without access for other users, so allow the group in with sudo chmod g+x /home/deploy if you use this layout.

Open the web interface

Resilio Sync has no desktop interface on Linux; you configure it in a browser. By default the web UI listens only on 127.0.0.1, port 8888, which is the safe setting for a public server. Reach it through an SSH tunnel from your own computer:

ssh -L 8888:127.0.0.1:8888 deploy@203.0.113.10

Leave that session open and browse to http://localhost:8888/gui/. On the first visit Sync asks you to set a login and password for the interface, then for a name that identifies this device to your other devices.

To add a share, click the + button. Choose a standard folder and select /srv/sync to publish it, or choose Enter a key or link to join a folder shared from another device; on Linux, links and licence keys are always entered through that box.

The daemon also accepts a --webui.listen <IP>:<port> option that makes the interface listen on another address. Binding it to a public address puts an unencrypted login page on the internet, so prefer the tunnel.

Check that it works

  • systemctl is-active resilio-sync prints active.
  • A file dropped into the shared folder on one device appears in /srv/sync on the server, owned by rslsync.
  • If a folder cannot be added, the cause is almost always permissions: test with sudo -u rslsync touch /srv/sync/test.

Update or remove Resilio Sync

Updates arrive through the repository with your normal package upgrades:

sudo apt-get update
sudo apt-get install --only-upgrade resilio-sync

To remove the package and its configuration:

sudo apt-get purge resilio-sync
sudo rm /etc/apt/sources.list.d/resilio-sync.list /etc/apt/trusted.gpg.d/resilio-sync.asc

The vendor's full instructions, including manual .deb downloads, are in the Resilio Sync Linux installation guide.

Frequently asked questions

Can I still install the old btsync package?

You should not. The vendor repository only carries resilio-sync, which is marked as replacing btsync, and unofficial archives of the old package receive no fixes.

Is Resilio Sync open source?

No. It is proprietary, and the free version 3 is licensed for personal, non-commercial use. If you need an open-source peer-to-peer sync tool, Syncthing is a separate project built for the same job; it is not compatible with Resilio Sync shares.

Can I run Sync as my own user instead of rslsync?

Yes. The vendor documents disabling the system service, changing WantedBy=multi-user.target to WantedBy=default.target in /usr/lib/systemd/user/resilio-sync.service, and then using systemctl --user enable resilio-sync and systemctl --user start resilio-sync. On a server without a login session, sudo loginctl enable-linger deploy keeps that user service running.

Does this work on RHEL-family systems?

The vendor also publishes an RPM repository under https://linux-packages.resilio.com/resilio-sync/rpm/$basearch, with the same service name and user, installed with yum or dnf after importing the same signing key with rpm --import.

Share story:

Continue reading other guides on How VPS.