
{"id":5668,"date":"2016-02-19T15:28:37","date_gmt":"2016-02-19T15:28:37","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=5668"},"modified":"2016-02-19T15:28:37","modified_gmt":"2016-02-19T15:28:37","slug":"howto-install-bittorrent-sync-from-its-official-repository","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2016\/02\/howto-install-bittorrent-sync-from-its-official-repository\/","title":{"rendered":"Howto Install BitTorrent Sync From Its Official Repository"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-icon.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-icon.png\" alt=\"BitTorrent Sync Linux repository\" width=\"245\" height=\"250\" class=\"alignleft size-full\" \/><\/a><\/p>\n<p>BitTorrent, the cross platfrom P2P file synchronization tool, now provides official Linux packages for Debian-based and RPM-based systems. Here&#8217;s how to install and use it in Ubuntu (tested in 15.10 wily).<\/p>\n<p><b>Install BitTorrent Sync:<\/b><\/p>\n<p>Launch terminal from App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below commands one by one and hit run:<\/p>\n<p><b>1.<\/b> Add btsync official Linux repository:<\/p>\n<pre style=\"border:none;\">sudo sh -c 'echo \"deb http:\/\/linux-packages.getsync.com\/btsync\/deb btsync non-free\" > \/etc\/apt\/sources.list.d\/btsync.list'<\/pre>\n<p>Type in password <i>(no visual feedback when typing)<\/i> when it asks and hit Enter to continue.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-repository.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-repository-600x72.jpg\" alt=\"BT sync official Linux repository\" width=\"600\" height=\"72\" class=\"aligncenter size-large\" \/><\/a><\/p>\n<p><b>2.<\/b> Install the public key so that your system will trust the packages from that repository:<\/p>\n<pre style=\"border:none;\">wget -qO - http:\/\/linux-packages.getsync.com\/btsync\/key.asc | sudo apt-key add -<\/pre>\n<p><b>3.<\/b> Update your system cache and finally install btsync:<\/p>\n<pre style=\"border:None;\">sudo apt-get update\n\nsudo apt-get install btsync<\/pre>\n<p><b>How to Use BT sync:<\/b><\/p>\n<p>There&#8217;s already a few great tutorials about setting up Btsync in Ubuntu around the web. And below is a brief how-to: <\/p>\n<p>First create a shared folder and set its permissions, here I created a folder <code>shared_folder<\/code> under the root of my current user:<\/p>\n<pre style=\"border:none;\">cd && mkdir <span style=\"color:red;\">shared_folder<\/span>\n\nsudo chown <span style=\"color:red;\">YOUR_USER<\/span>:btsync shared_folder\n\nsudo chmod 2775 <span style=\"color:red;\">shared_folder<\/span>\n\nsudo usermod -a -G btsync <span style=\"color:red;\">YOUR_USER<\/span><\/pre>\n<p>Then start the btsync service:<\/p>\n<pre style=\"border:none;\">sudo service btsync <span style=\"color:red;\">start<\/span><\/pre>\n<p>You may replace <code>start<\/code> with <code>stop<\/code>, <code>enable<\/code>, <code>disable<\/code>, or <code>status<\/code> to control Btsync.<\/p>\n<p>Now go to <code>localhost:8888<\/code> in your web browser and add the previous created folder:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-addfolder.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-addfolder-600x373.jpg\" alt=\"btsync add folder\" width=\"600\" height=\"373\" class=\"aligncenter size-large\" \/><\/a><\/p>\n<p>Finally share the link, key, or QRcode with your friends and enjoy!<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-sending.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/02\/btsync-sending-600x233.jpg\" alt=\"btsync sending\" width=\"600\" height=\"233\" class=\"aligncenter size-large\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>BitTorrent, the cross platfrom P2P file synchronization tool, now provides official Linux packages for Debian-based and RPM-based systems. Here&#8217;s how to install and use it in Ubuntu (tested in 15.10 wily). Install BitTorrent Sync: Launch terminal from App Launcher, or via Ctrl+Alt+T shortcut key. When it opens, paste below commands one by one and hit [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1333],"class_list":["post-5668","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-bittorrent-bittorrent-sync"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=5668"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/5668\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=5668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=5668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=5668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}