We’ve received many requests from the Sync community to be able to install Sync on a Linux family OS in the “Linux way” — using packages and a standard tool (yum or apt-get) to get the package downloaded and installed.

We’re thankful for the packages and installation scripts made by our community members (thanks to @tuxpoldo, @Silvenga, @moe and others) that enabled this sort of installation.

Now, we are happy to present official Debian-based and RPM-based Linux packages for Sync. Packages are also available on our repositories, where they will be updated once we push a new Sync version to auto-update.

To use our official Linux packages, you need to complete several simple steps:

1. Add our repository to your repo list

2. Add our PGP public key to the list of trusted keys for your installer

3. Install the package

See below for detailed instructions. If you have btsync already installed, please see this KB article first.

Installing on Debian-based OS (Debian, Ubuntu, Zorin, Elementary)

Create a file called /etc/apt/sources.list.d/resilio-sync.list with the following content to register Resilio repository:

deb http://linux-packages.resilio.com/resilio-sync/deb resilio-sync non-free

Add a public key with the following command:

wget -qO - https://linux-packages.resilio.com/resilio-sync/key.asc | sudo apt-key add -

For arm64 architecture For Raspberry Pi 1 sudo dpkg --add-architecture armhf

sudo apt-get update In /etc/apt/sources.list change the line as follows: deb [arch=armhf] http://linux-packages.resilio.com/ resilio-sync/deb resilio-sync non-free sudo dpkg --add-architecture armel

sudo apt-get update

sudo apt-get install resilio-sync:armel

Install Sync

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

For RPM-based Linux (Red Hat, Fedora, CentOS, OpenSUSE)

Create file /etc/yum.repos.d/resilio-sync.repo with the following content to register Resilio repository:

[resilio-sync] name=Resilio Sync $basearch baseurl=http://linux-packages.resilio.com/resilio-sync/rpm/$basearch enabled=1 gpgcheck=1

Add public key:

sudo rpm --import https://linux-packages.resilio.com/resilio-sync/key.asc

Install Sync:

sudo yum install resilio-sync

Managing Sync

systemd

Enable sync service automatic startup as user rslsync:

sudo systemctl enable resilio-sync

Enable sync service as current user:

edit file /usr/lib/systemd/user/resilio-sync.service and change “WantedBy=multi-user.target” to “WantedBy=default.target”. Save. Then enable the service:

systemctl --user enable resilio-sync

Systemctl can be also run with the following arguments: start, stop, enable, disable, status

For example:

systemctl --user start resilio-sync

sysvinit, upstart

Run as rslsync user:

sudo service resilio-sync start

Service can also be run with the following arguments: start, stop, restart

Guide on how to use Sync on linux is here.

After successful migration and verifying that setup is preserved, you can remove btsync package:

For Debian-based Linux:

sudo apt-get purge btsync

For RPM-based Linux