Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am in Ubuntu 12.04 (precise) 64bit and downloaded the btsync executable from http://labs.bittorrent.com/experiments/sync/ but running it doesn't seem to have any effect. Double-clicking the executable does nothing, and running ./btsync in the terminal also exits immediately without any output.

Has anyone successfully ran this under Ubuntu, and if so, is there any special configuration changes that need to be made to make it work?

share|improve this question

5 Answers 5

There are 2 ways to use BitTorrent Sync , 1st Install it using PPA & 2nd Download

1st PPA

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

For normal desktop use, you only need to install btsync-user:

sudo apt-get install btsync-user

Alternatively, if you're setting up your BTSync server, install btsync:

sudo apt-get install btsync

During the installation just use the default setting and set the administrative password as well ,You can access it by     # This will redirect to the 2nd link


Username = admin , Password = ( Use have set during installation )

2nd Download

Download the BitTorrent Sync client

cd Downloads
tar xzpf btsync_glibc23_x64.tar.gz # I have downloaded 64 bit. So check your version 

The output will be

BitTorrent Sync forked to background. pid = 5771  # some what like this pid will be change

enter image description here

Open any web browser & copy paste the following line     # This will redirect to the 2nd link


enter image description here

If you type ./btsync --help you can also run it no deamon mode

./btsync --help
 BitTorrent Sync 1.0.132
 btsync [--config <path>] [--nodaemon] [--generate-secret] [--dump-sample-config] [--help] [--get-ro-secret <secret>]
--config - location and name of configuration file
--nodaemon - do not use daemon mode
--generate-secret - generate shared secret
--get-ro-secret - get read only secret for existing master secret
--dump-sample-config - dump sample config file
--help - print this message and exit



Video tutorial jupiterbroadcasting.com

Please also have look at Peer To Peer (P2P) Sync and Share Ubuntu

share|improve this answer
Thanks, this was very comprehensive, but my original question was not how to install it, but rather why it wasn't giving me any feedback that it was running. I suppose it's been changed to provide the helpful "BitTorrent Sync forked to background" bit, so thanks for pointing that out. Also, your suggestion to use --help is a valid one; I should have tried that (although I was more curious about the out-of-the-box experience). For these reasons, I'll upvote your answer, but will accept mine (which I had forgotten to do, sorry if that gave you the impression that the question wasn't answered). –  waldyrious May 17 '13 at 12:44
@waldir When i was writing the answer my aim was there is nothing should be left for you to say anything about "BitTorrent Sync", I always try to write additional information, may be it will not help you ( or an exact answer to your question ) but it will help others and 2nd i don't want to gather all the information again & again for every time..now if some one ask question about installing / configuring "BitTorrent Sync" i will duplicate to this answer ... i hope you understand what i m trying to say ... –  Qasim May 17 '13 at 12:55
Yes, I understand perfectly, and I agree that it's a good thing to do. I just wanted to let you know that I was going to accept my answer instead of yours merely for accuracy (considering what the question explicitly asked for), rather than because of any selfish motivation :) –  waldyrious May 19 '13 at 1:13
While adding the ppa I saw that there is a btsync and btsync-user package. I bit of research showed that btsync is more for server usage and btsync-user for desktop usage. btsync-user also automatically adds it to start-up and a launcher to the dash. Just mentioning so that you can improve the answer as you feel is needed. –  Pieter Jul 27 '13 at 9:37
@Dave or Qasim you might want to add an entire section for desktop and server install respectively. The reason, btsync-user is on port 9999 and not 8888 as with btsync, and does not use authentication. Btsync can also run on multiple daemons if I remember correctly. See btsync and btsync-user –  Pieter Sep 30 '13 at 16:19
up vote 30 down vote accepted

According to the user guide (pdf), there is (at least for now) no native GUI for Linux. The graphical interface for Linux is browser-based, and can be accessed at http://localhost:8888/gui/.

share|improve this answer
There is now a Linux GUI for btsync: btsync-gui. –  Will May 10 '14 at 20:35
See this link. –  daviewales Aug 2 '14 at 6:45
How would you access a remote computers btsync instance? If you try the IP of the remote computer and the port it doesn't work for some reason. –  Klyn Oct 18 '14 at 4:12

Create a start-up script and setup Nginx SSL for remote access

vi /etc/init.d/btsync

#! /bin/sh
# /etc/init.d/btsync

# Carry out specific functions when asked to by the system
case "$1" in
    /USERACCOUNT/.btsync/btsync --config /USERACCOUNT/.btsync/btsync.conf
    killall btsync
    echo "Usage: /etc/init.d/btsync {start|stop}"
    exit 1

exit 0
chmod 755 /etc/init.d/btsync
update-rc.d btsync defaults

Start BT Sync

service btsync start

Nginx configuration


server {
       listen         80;
       server_name    btsync.xx.xxx;
       rewrite        ^ https://$server_name$request_uri? permanent;

    server {
           listen         443;
           server_name    btsync.xx.xxx;

           ssl            on;
            ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
            ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;

            access_log  /var/log/nginx/access.log;

            location / {
share|improve this answer
Nice addition, but you might want to explain it more ;) (Also, letting newbies get into vi without warning? Ouch! :P) –  Gerhard Burger Feb 11 '14 at 8:43
The first code is a start up script for automating BTSync to start up after a reboot. The Nginx configuration is configuring access to BTSync. Access so you can reach and securly log in to your BTSync WebGUI from outside your local network. –  nicoX Feb 26 '14 at 15:27

I found a very useful walkthrough here:


I know I am not spelling out the instructions from the blog post here. But it ultimately was more useful to me so wanted to share.

share|improve this answer

BitTorrent Sync's unofficial PPA now has a package btsync-gui, which adds GTK GUI (in addition to WebUI). There's a thread about the GUI on btsync's forum.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.