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 Linxus 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 and run Sync

See below for detailed instructions.

Installing on Debian-based OS
Adding our repository:
sudo echo “deb http://linux-packages.getsync.com/btsync/deb btsync non-free” > /etc/apt/sources.list.d/btsync.list
It is advised to remove any other 3rd party bt-sync related repositories from /etc/apt/sources.list.d first.

Next, you need to add our public key to get the package verified before downloading and installation:
wget -qO – http://linux-packages.getsync.com/btsync/key.asc | sudo apt-key add -

The rest of installation is straightforward for a Debian user:
sudo apt-get update
sudo apt-get install btsync

Installing on RPM-based OS
Add our repository to yum by creating file /etc/yum.repos.d/btsync.repo with the next content:
name=BitTorrent Sync $basearch

To add public key to trusted storage, run:
sudo rpm –import http://linux-packages.getsync.com/btsync/key.asc

And now the simple part – installing Sync:
sudo yum install btsync
Sync daemon management depends on your init system:

Controlling Sync
If your OS uses systemd, use the following commands to control Sync:
sudo systemctl btsync
where can be start, stop, enable, disable, status

If your OS uses sysvinit, upstart, control Sync with the following commands:
sudo service btsync
where can be start, stop, restart

Permissions and users
Note, that when you install Sync package it is going to add “btsync” user to your Linux and run under “btsync” user. Take care of permissions and groups before you start syncing.
If you are using systemd it is possible to run Sync under your current user account, if you start it with
sudo systemctl –user btsync
command. Unfortunately, this option is not available for sysvinit and upstart.