BitTorrent Sync (btsync) Repositories This page describes several ways to add the repositories for the Packaging and GUI project for delivering and deploying BitTorrent Sync (aka btsync or syncapp) on Debian derived (Ubuntu, Linux Mint, Raspbian, etc.) Linux workstations and servers

Adding the BitTorrent Sync Repositories

Debian and Debian based distributions (Linux Min, Ubuntu, Linspire, Xandros and Mepis to name a few) use a tool called APT (Advanced Packaging Tool) to manage all software on the system. The term "package" refers to an individual file with a .deb extension that contains either all or part of an application.

Your distribution comes with some default repositories that are already setup, but these contain only the software officially distributed by the creator of your distribution. In order to install the btsync packages, you have to add the specific repositories where btsync is hosted.

Install the Repository

The most easy and fast way to install the repository is to paste that at a terminal prompt:

sh -c "$(curl -fsSL"

The script explains what it will do and then pauses before it does it asking for your permission.

After this, you can directly proceed to the installation.

Alternative Manual Installation

If you prefer to perform all the steps manually because you really want to understand what the script is doing, you can also install the repository manually. The procedure is described hereunder:

The btsync packages are all signed with a key in order to guarantee their authenticity. Before using the repository, you should add the key to the package manager. To do that, run the following command:

`which sudo` apt-key adv --keyserver --recv-keys 6BF18B15

On success you should see an output like this:

gpg: requesting key 6BF18B15 from hkp server
gpg: key 6BF18B15: public key "Leo Moll <>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1

Now you can easily add the package sources, by executing the following commands:

CODENAME=$(lsb_release -cs | sed -n '/lucid\|precise\|quantal\|raring\|saucy\|trusty\|squeeze\|wheezy\|jessie\|sid/p')
echo deb ${CODENAME:-unstable} main > ~/btsync.list
echo deb-src ${CODENAME:-unstable} main >> ~/btsync.list
`which sudo` mv ~/btsync.list /etc/apt/sources.list.d/btsync.list
`which sudo` chown root:root /etc/apt/sources.list.d/btsync.list
`which sudo` apt-get update

After this, you can directly proceed to the installation.

Alternative for Ubuntu

If you are using Ubuntu, you may also use the Launchpad PPA instead of the default repositories but this has some relevant disadvantages:

  • The PPA only supports Ubuntu versions that are supported (currently lucid, precise, quantal, saucy and trusty)
  • The PPA only supports the i386 and amd64 architectures
  • Often it takes some hours for the packages to be published

If you are OK with this, you can add the Launchpad PPA by issuing the following commands:

`which sudo` add-apt-repository ppa:tuxpoldo/btsync
`which sudo` apt-get update

After this, you can directly proceed to the installation.

This page was last updated on May 18, 2014, 17:48:39