How to install Syncthing on Ubuntu 17.04

To install Syncthing on Ubuntu 17.04

Syncthing is a free application that is used to synchronize files or directories between any network of computers and it transfers files and directories directly from one system to another system. The entire communication in this process is encrypted. It has the most reliable WebGUI,that supports the users for adding, deleting or managing directories over network.This tutorial explains the installation procedure of Syncthing on Ubuntu 17.04. 

 

Installation procedure

To proceed with the installation procedure, add the key for syncthing and execute the required sudo command. 

root@linuxhelp1:~# curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
OK

Add the stable version of Syncthing and run the following command. 

root@linuxhelp1:~# echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
deb https://apt.syncthing.net/ syncthing stable

The stable version has been added and now update the repo by executing the apt-get update command

root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu zesty-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu zesty InRelease     
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Get:5 https://apt.syncthing.net syncthing InRelease [15.1 kB]
Get:6 https://apt.syncthing.net syncthing/stable i386 Packages [1,613 B]
Get:7 https://apt.syncthing.net syncthing/stable amd64 Packages [1,620 B]
Fetched 18.4 kB in 4s (4,208 B/s)
Reading package lists... Done

Now install the syncthing package by running the following command and press y to continue with the installation. 

root@linuxhelp1:~# apt-get install syncthing -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  syncthing
0 upgraded, 1 newly installed, 0 to remove and 249 not upgraded.
Need to get 6,556 kB of archives.
After this operation, 16.0 MB of additional disk space will be used.
Get:1 https://apt.syncthing.net syncthing/stable amd64 syncthing amd64 0.14.37 [6,556 kB]
Fetched 6,556 kB in 10s (620 kB/s)                                                                                                  
Selecting previously unselected package syncthing.
(Reading database ... 170562 files and directories currently installed.)
Preparing to unpack .../syncthing_0.14.37_amd64.deb ...
Unpacking syncthing (0.14.37) ...
Processing triggers for ufw (0.35-4) ...
Setting up syncthing (0.14.37) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for ufw (0.35-4) ...

For using the Syncthing, run the following command to show a list of options to use in Syncthing. 

root@linuxhelp1:~# syncthing --help
Usage:
  syncthing [options]

Options:
  -audit           Write events to audit file
  -auditfile=""    Specify audit file (use "-" for stdout, "--" for stderr)
  -browser-only    Open GUI in browser
  -generate=""     Generate key and config in specified dir, then exit
  -gui-address=""  Override GUI address (e.g. "http://192.0.2.42:8443")
  -gui-apikey=""   Override GUI API key
  -home=""         Set configuration directory
  -logfile="-"     Log file name (use "-" for stdout)
  -logflags="2"    Select information in log line prefix (see below)
  -no-browser      Do not start browser
  -no-restart      Disable monitor process, managed restarts and log file writing
  -paths           Show configuration paths
  -paused          Start with all devices and folders paused
  -reset-database  Reset the database, forcing a full rescan and resync
  -reset-deltas    Reset delta index IDs, forcing a full index exchange
  -unpaused        Start with all devices and folders unpaused
  -upgrade         Perform upgrade
  -upgrade-check   Check for available upgrade
  -upgrade-to=""   Force upgrade directly from specified URL
  -verbose         Print verbose log output
  -version         Show version
.
.
.
pmp         - NAT-PMP discovery and port mapping
 protocol    - The BEP protocol
 scanner     - File change detection and hashing
 sha256      - SHA256 hashing package
 stats       - Persistent device and folder statistics
 sync        - Mutexes
 upgrade     - Binary upgrades
 upnp        - UPnP discovery and port mapping
 versioner   - File versioning

The installation procedure of Syncthing on Ubuntu 17.04 is done successfully. 


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Syncthing Ubuntu
user image Author :  Wilson