Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am in Ubuntu 12.04 (precise) 64bit and downloaded the btsync executable from 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
What is the package for BtSync? I cannot find it in apt-get. – Masi Jul 7 at 15:06
NOTE this post is from 2013/2014. Sinze btsync version 2.0 there are considerable changes and the PPA mentioned below does not support version 2.0 – seb Oct 17 at 12:10

6 Answers 6

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

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 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
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
The listed PPAs are not working right now, unfortunately. – Karel Bílek Oct 11 at 23:14
up vote 32 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
For security reasons the default behaviour is to only listen on the loopback interface, this prevents remote computers from being able to remote connect to the web interface. To enable remote access you need to edit the config file and set the IP to listen on to, I recommend a good password and to use HTTPS if you're doing this. – will Mar 8 at 15:04

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

nano /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;
       rewrite        ^ https://$server_name$request_uri? permanent;

    server {
           listen         443;

           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

According to the original PPA maintainer tuxpoldo, the new way to do it for version (2.0+) is (must be run in bash):

sh -c "$(curl -fsSL"
sudo apt-get update
sudo apt-get install btsync-gui
share|improve this answer
This seemed to work, but it's asking for a username and password of which I can't remember setting any. – Costa May 1 at 13:51
And there's no way to exit. Even killing the process doesn't work. (kill -1 and kill -9) – Costa May 1 at 14:16
Try the app on your phone? I think you can do some sort of identity setup with it – Jonathan Leaders May 2 at 18:27

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.